Home
• Programming • PHP
Apr 24th, 2015 at 10:46 PM
Quiz-1 : PHP Fundamental 1
1. Which data type is used to represent a single value?
A) scalar data type
B) supported tata type
C) setting data type
D) Compound data type
2. What do you mean by prototype?
A) Simply the function's definition
B) Input parameters.
C) defined data type
D) Returns type of value.
3. Which data type is used to represents true and false values?
A) Boolean
B) String
C) array
D) printf
4. <?php
print "<p>I love the summertime</p>";
?>
<?php
$season="summertime";
print "<p>I love the $season</p>";
?>
<?php
print "<p>I love the summertime</p>";
?>
what will be the same identical output for each?
A) I love the summertime
B) I love the $session.
C) summertime
D) summertime,I love the summertime
5. Which are correct for opening php syntax?
A) (Delimiter style) <?php echo "<p>some dynamic output here</p>"; ?>
B) (Short tags style) <? echo "<p>some dynamic output here</p>"; ?>
C) (ASp style) <% print "<p>some dynamic output here</p>"; %>
D) (Script style) <script language="php"> print "This another php example"; </script>
6. Which allows you to specify numbers that contains fractional parts?
A) Float
B) String
C) array
D) Boolean
7. Which of the followings are variable scope?
A) Local variable
B) Global variable
C) Static variable
D) Functions parameters
8. Which are valid string's example?
A) "php is a great language"
B) "whoop-de-do"
C) '*9subway '
D) "123%^789"
9. Which functions count elements in an array?
A) count
B) Size of
C) Count_array
D) array_count
10. What will be the correct output of the following syntax?
<?php
$total=”45 fire engines”;
$incoming=”10”;
$total=$incoming+$total
?>
A) 55
B) 45 fire engines
C) 45 fire engines10
D) 55 fire engines
First
Prev
Next
Last
/47
Comments 0
Comment
About Author
Mohammad Towhidul Islam
University
Campus
340+
Online Tips
Study
29+
Computer
107+
Religious
31+
Fashion & Design
9+
Agriculture
55+
VCampus Help
25+
Intorior Design
18+
Photography
15+
Health
64+
Mobile
2+
SEO
8+
ASCII Art
7+
Phone Book
2+
Shopping
1+
Music
7+
Recipe
1+
Engineering
Computer
12+
EEE
1+
Programming
Java
33+
C#.NET
23+
C++
4+
JQuery
10+
PHP
47+
HTML5
14+
C
15+
CSS
36+
ASP.NET Core
14+
JavaScript
58+
ADO.NET
10+
Git and GitHub
1+
SQL
3+
PLSQL
1+
Fltter
4+
Angular
8+
OpenGL
1+
Python
2+
Perl
1+
SASS
2+
React
11+
General Subjects
Drawing
10+
Computing
7+
English
20+
Math
6+
Politics
3+
Social & Culture
1+
Biography
1+
Science
Physics
3+
Chemistry
5+
Biology
3+
News
Sports News
3+
Weather News
7+
Entertainment News
2+
Career News
3+
International News
1+
Jobs
Education/Training
1+
IT & Telecommunication
9+
Others
2+
Commerce
Accounting
27+
Management
4+
Economics
1+
General Knowledge
Bangladesh
8+
Science & Technology
11+
English & Literature
4+
International
5+
Others
5+
Bengali & Literature
3+
Current affairs
1+
Mathematics
2+
Story, Tales & Poem
Fiction
1+
Jokes
6+
Poem
1+
Software Application
Microsoft Excel
3+
Adobe Photoshop
2+
Adobe Flash
1+
Editors
1+
Microsoft Word
1+
Framework
Wordpress
15+
phpBB
1+
Laravel
12+
CodeIgniter
4+
Bootstrap
2+
Yii
7+
CakePHP
17+
Magento
10+
Operating System
DOS
2+
Linux
2+
Database
MySQL
25+
Oracle
3+
IBM DB2
1+
Microsoft SQL Server
13+
Microsoft Access
1+
Networking
Computer Networks
3+
Networking Services
1+
Hosting and Server
2+
Quiz
Other
1+
Generic ERP
HR
1+
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd
Comments 0