Unlimited Online Free Software Download! Get 100% Free
Hurry up!
Location: Bapunagar
Call: 800 053 0134
Email: info@hitechskillindia.in
Courses
CCC
Accounting
Software Development
Designing
Mobile Development
Digital Marketing
Specialized Courses
Live Project Training
Home
About
Placement Student's
Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
Inquiry Now
Home
About Us
Courses
CCC
Accounting
Software Development
hot
Designing
Mobile Development
new
Digital Marketing
Specialized Courses
new
Live Project Training
hot
Placement Student's
Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact Us
More
New
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
PHP Quiz
Home
Quiz
PHP Quiz
Change Course
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Q.
1
PHP stands for -
A.
Hypertext Preprocessor
B.
Pretext Hypertext Preprocessor
C.
Personal Home Processor
D.
None of the above
Correct Answer:
A. Hypertext Preprocessor
Q.
2
Who is known as the father of PHP ?
A.
Drek Kolkevi
B.
List Barely
C.
Rasmus Lerdrof
D.
None of the above
Correct Answer:
C. Rasmus Lerdrof
Q.
3
Variable name in PHP starts with -
A.
! (Exclamation)
B.
$ (Dollar)
C.
& (Ampersand)
D.
# (Hash)
Correct Answer:
B. $ (Dollar)
Q.
4
Which of the following is the default file extension of PHP ?
A.
.php
B.
.hphp
C.
.xml
D.
.html
Correct Answer:
A. .php
Q.
5
Which of the following is not a variable scope in PHP ?
A.
Extern
B.
Local
C.
Static
D.
Global
Correct Answer:
A. Extern
Q.
6
Which of the following is correct to add a comment in php ?
A.
& …… &
B.
// ……
C.
/* …… */
D.
Both (// ……) and (/* …… */)
Correct Answer:
D. Both (// ……) and (/* …… */)
Q.
7
Which of the following is used to display the output in PHP ?
A.
echo
B.
write
C.
print
D.
Both (echo) and (print)
Correct Answer:
D. Both (echo) and (print)
Q.
8
Which of the following is the use of strlen() function in PHP ?
A.
The strlen() function returns the type of string
B.
The strlen() function returns the length of string
C.
The strlen() function returns the value of string
D.
The strlen() function returns both value and type of string
Correct Answer:
B. The strlen() function returns the length of string
Q.
9
Which of the following is used for concatenation in PHP ?
A.
+ (plus)
B.
* (Asterisk)
C.
. (dot)
D.
append()
Correct Answer:
C. . (dot)
Q.
10
Which of the following starts with __ (double underscore) in PHP ?
A.
Inbuilt constants
B.
User-defined constants
C.
Magic constants
D.
Default constants
Correct Answer:
C. Magic constants
Q.
11
Which of the following is the use of strpos() function in PHP ?
A.
The strpos() function is used to search for the spaces in a string
B.
The strpos() function is used to search for a number in a string
C.
The strpos() function is used to search for a character/text in a string
D.
The strpos() function is used to search for a capitalize character in a string
Correct Answer:
C. The strpos() function is used to search for a character/text in a string
Q.
12
What does PEAR stands for ?
A.
PHP extension and application repository
B.
PHP enhancement and application reduce
C.
PHP event and application repository
D.
None of the above
Correct Answer:
A. PHP extension and application repository
Q.
13
Which of the following is the correct way to create a function in PHP ?
A.
Create myFunction()
B.
New_function myFunction()
C.
function myFunction()
D.
None of the above
Correct Answer:
C. function myFunction()
Q.
14
Which of the following PHP function is used to generate unique id ?
A.
id()
B.
mdid()
C.
uniqueid()
D.
None of the above
Correct Answer:
C. uniqueid()
Q.
15
Which of the following is the correct way of defining a variable in PHP ?
A.
$variable name = value;
B.
$variable_name = value;
C.
$variable_name = value
D.
$variable name as value;
Correct Answer:
B. $variable_name = value;
Q.
16
What is the use of fopen() function in PHP ?
A.
The fopen() function is used to open folders in PHP
B.
The fopen() function is used to open remote server
C.
The fopen() function is used to open files in PHP
D.
None of the above
Correct Answer:
C. The fopen() function is used to open files in PHP
Q.
17
What is the use of isset() function in PHP ?
A.
The isset() function is used to check whether variable is set or not
B.
The isset() function is used to check whether the variable is free or not
C.
The isset() function is used to check whether the variable is string or not
D.
None of the above
Correct Answer:
A. The isset() function is used to check whether variable is set or not
Q.
18
What is the use of sprintf() function in PHP ?
A.
The sprintf() function is used to print the output of program
B.
The sprintf() function is used to send output to variable
C.
Both of the above
D.
None of the above
Correct Answer:
B. The sprintf() function is used to send output to variable
Q.
19
Which of the following is the correct way to open the file 'sample.txt' as readable ?
A.
fopen('sample.txt', 'r');
B.
fopen('sample.txt', 'r +');
C.
fopen('sample.txt','read');
D.
fopen('sample.txt');
Correct Answer:
A. fopen('sample.txt', 'r');
Q.
20
Which of the following is the correct use of the strcmp() function in PHP ?
A.
The strcmp() function is used to compare the strings excluding case
B.
The strcmp() function is used to compare the uppercase strings
C.
The strcmp() function is used to compare the lowercase strings
D.
The strcmp() function is used to compare the strings including case
Correct Answer:
D. The strcmp() function is used to compare the strings including case
Q.
21
Which of the following function displays the information about PHP and its configuration ?
A.
php_info()
B.
phpinfo()
C.
info()
D.
None of the above
Correct Answer:
B. phpinfo()
Q.
22
Which of the following function is used to find files in PHP ?
A.
glob()
B.
fold()
C.
file()
D.
None of the above
Correct Answer:
A. glob()
Q.
23
Which of the following function is used to set cookie in PHP ?
A.
createcookie()
B.
makecookie()
C.
setcookie()
D.
None of the above
Correct Answer:
C. setcookie()
Q.
24
Which of the following function is used to get the ASCII value of a character in PHP ?
A.
val()
B.
asc()
C.
ascii()
D.
chr()
Correct Answer:
D. chr()
Q.
25
Which of the following function is used to unset a variable in PHP ?
A.
delete()
B.
unset()
C.
unlink()
D.
None of the above
Correct Answer:
B. unset()
Q.
26
Which of the following function is used to sort an array in descending order ?
A.
sort()
B.
asrot()
C.
dsort()
D.
rsort()
Correct Answer:
D. rsort()
Q.
27
Which of the following is/are the code editors in PHP ?
A.
Notepad++
B.
Atom
C.
Adobe Dreamweaver
D.
All of the above
Correct Answer:
D. All of the above
Q.
28
Which of the following is used to end a statement in PHP ?
A.
. (dot)
B.
; (semicolon)
C.
! (exclamation)
D.
/ (slash)
Correct Answer:
B. ; (semicolon)
Q.
29
Which of the following function in PHP can be used to test the type of any variable ?
A.
From 10 to Large 70
B.
From 8 to Large 72
C.
From 5 to Large 75
D.
From 10 to Large 100
Correct Answer:
B. From 8 to Large 72
Q.
30
String values in PHP must be enclosed within -
A.
Double Quotes
B.
Single Quotes
C.
Both (Double Quotes) and (Single Quotes)
D.
None of the above
Correct Answer:
C. Both (Double Quotes) and (Single Quotes)
Q.
31
Which of the following variable name is invalid ?
A.
$newVar
B.
$new_Var
C.
$new-var
D.
All of the above
Correct Answer:
C. $new-var
Q.
32
Which of the following is the correct way to create an array in PHP ?
A.
$season = array['summer' , 'winter' , 'spring' , 'autumn'];
B.
$season = array('summer' , 'winter' , 'spring' , 'autumn');
C.
$season = 'summer' , 'winter' , 'spring' , 'autumn';
D.
All of the above
Correct Answer:
B. $season = array('summer' , 'winter' , 'spring' , 'autumn');
Q.
33
Which of the following is a built-in function in PHP that adds a value to the end of an array ?
A.
array_push()
B.
inend_array()
C.
into_array()
D.
None of the above
Correct Answer:
A. array_push()
Q.
34
Which of the following function in PHP returns a text in title case from a variable ?
A.
toUpper($var)
B.
ucwords($var)
C.
ucword($var)
D.
All of the above
Correct Answer:
B. ucwords($var)
Q.
35
Which of the following is the correct way to print 'Hello World' in PHP ?
A.
'Hello World';
B.
write('Hello World');
C.
echo 'Hello World';
D.
None of the above
Correct Answer:
C. echo 'Hello World';
Q.
36
Which of the following function is used to compress a string in PHP ?
A.
compress()
B.
zip_compress()
C.
gzcompress()
D.
zip()
Correct Answer:
C. gzcompress()
Q.
37
What does SPL stands for in PHP ?
A.
Standard PHP Library
B.
Simple PHP Library
C.
Simple PHP List
D.
None of the above
Correct Answer:
A. Standard PHP Library
Q.
38
Which of the following function converts a string to all uppercase ?
A.
upper()
B.
uppercase()
C.
struppercase()
D.
strtoupper()
Correct Answer:
D. strtoupper()
Q.
39
The function in PHP that can be used to concatenate array elements to form a single delimited string is -
A.
implode()
B.
concat()
C.
explode()
D.
concatenate()
Correct Answer:
A. implode()
Q.
40
Which PHP function determines the last access time of a file ?
A.
filetime()
B.
fileatime()
C.
filectime()
D.
None of the above
Correct Answer:
B. fileatime()
Q.
41
Which PHP function is capable to read specific number of characters from a file ?
A.
filegets()
B.
fget()
C.
fgets()
D.
None of the above
Correct Answer:
C. fgets()
Q.
42
Which PHP function is used to find the position of the last occurrence of a substring inside another string ?
A.
strops()
B.
strrpos()
C.
strtr()
D.
None of the above
Correct Answer:
B. strrpos()
Q.
43
Which of the following function is used to compute the difference between two arrays in PHP ?
A.
diff_array
B.
array_diff
C.
arrays_diff
D.
diff_arrays
Correct Answer:
B. array_diff
Q.
44
Which PHP function converts an English text datetime into a Unix timestamp ?
A.
str_to_time()
B.
strtodate()
C.
strtotime()
D.
None of the above
Correct Answer:
C. strtotime()
Q.
45
Which of the following function in PHP returns the time of sunrise of a particular day and location ?
A.
date_sunrise()
B.
date-sunrise()
C.
sunrise()
D.
None of the above
Correct Answer:
A. date_sunrise()
Q.
46
Which of the following is the correct syntax to write a PHP code ?
A.
<?php ?>
B.
< php >
C.
<? php ?>
D.
<? ?>
Correct Answer:
A. <?php ?>
Q.
47
How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.
A.
10 functions
B.
7 functions
C.
8 functions
D.
9 functions
Correct Answer:
C. 8 functions
Q.
48
What does PDO stand for ?
A.
PHP Database Orientation
B.
PHP Data Orientation
C.
PHP Data Object
D.
PHP Database Object
Correct Answer:
C. PHP Data Object
Q.
49
Which PHP statement will give output as $x on the screen ?
A.
echo "$x";
B.
echo "$$x";
C.
echo "/$x";
D.
echo "$x;";
Correct Answer:
A. echo "$x";
Q.
50
What does the abbreviation HTML stand for ?
A.
HyperText Markup Language.
B.
HighText Markup Language.
C.
HyperText Markdown Language.
D.
None of the above.
Correct Answer:
A. HyperText Markup Language.
Q.
51
How many sizes of headers are available in HTML by default ?
A.
5 tag
B.
1 tag
C.
3 tag
D.
6 tag
Correct Answer:
D. 6 tag
Q.
52
What is the smallest header in HTML by default ?
A.
h1
B.
h2
C.
h6
D.
h4
Correct Answer:
C. h6
Q.
53
What are the types of lists available in HTML ?
A.
Ordered, Unordered Lists.
B.
Bulleted, Numbered Lists.
C.
Named, Unnamed Lists.
D.
None of the above.
Correct Answer:
A. Ordered, Unordered Lists.
Q.
54
How to create an ordered list in HTML ?
A.
<ul>
B.
<ol>
C.
<href>
D.
<b>
Correct Answer:
B. <ol>
Q.
55
HTML files are saved by default with the extension ?
A.
.html
B.
.h
C.
.ht
D.
None of the above
Correct Answer:
A. .html
Q.
56
We enclose HTML tags within ?
A.
{ }
B.
< >
C.
! !
D.
None of the above
Correct Answer:
B. < >
Q.
57
Which of the following is correct about HTML ?
A.
HTML uses User Defined Tags.
B.
HTML uses tags defined within the language.
C.
Both A and B.
D.
None of the above.
Correct Answer:
B. HTML uses tags defined within the language.
Q.
58
How to display preformatted text in HTML ?
A.
<p>
B.
<pre>
C.
<hr>
D.
All of the above
Correct Answer:
B. <pre>
Q.
59
Which of the following tags doesn't require a closing tag ?
A.
<br>
B.
<hr>
C.
Both the <hr> and the <br> tag
D.
None of the above
Correct Answer:
C. Both the <hr> and the <br> tag
Q.
60
Which of the following properties is used to change the font of text ?
A.
font-family
B.
font-size
C.
text-align
D.
None of the above
Correct Answer:
A. font-family
Q.
61
What are the attributes used to change the size of an image ?
A.
Width and height
B.
Big and Small
C.
Top and bottom
D.
None of the above
Correct Answer:
A. Width and height
Q.
62
Which attribute is used to provide a unique name to an HTML element ?
A.
id
B.
class
C.
type
D.
None of the above
Correct Answer:
A. id
Q.
63
What is the function of the HTML style attribute ?
A.
It is used to add styles to an HTML element.
B.
It is used to uniquely identify some specific styles of some element.
C.
Both A and B.
D.
None of the above.
Correct Answer:
A. It is used to add styles to an HTML element.
Q.
64
The full form of CSS is :
A.
Cascading Style Sheets
B.
Coloured Special Sheets
C.
Color and Style Sheets
D.
None of the above
Correct Answer:
A. Cascading Style Sheets
Q.
65
The 'function' and 'var' are known as :
A.
Keywords
B.
Data types
C.
Declaration statements
D.
Prototypes
Correct Answer:
C. Declaration statements
Q.
66
How can we change the background color of an element ?
A.
background-color
B.
color
C.
Both A and B
D.
None of the above
Correct Answer:
A. background-color
Q.
67
When interpreter encounters an empty statements, what it will do :
A.
Shows a warning
B.
Prompts to complete the statement
C.
Throws an error
D.
Ignores the statements
Correct Answer:
D. Ignores the statements
Q.
68
How can we change the text color of an element ?
A.
background-color
B.
color
C.
Both A and B
D.
None of the above
Correct Answer:
B. color
Q.
69
In JavaScript, what is a block of statement ?
A.
Conditional block
B.
block that combines a number of statements into a single compound statement
C.
both conditional block and a single statement
D.
block that contains a single statement
Correct Answer:
B. block that combines a number of statements into a single compound statement
Q.
70
In how many ways can CSS be written in ?
A.
1 ways
B.
2 ways
C.
3 ways
D.
4 ways
Correct Answer:
C. 3 ways
Q.
71
Which one of the following also known as Conditional Expression :
A.
Alternative to if-else
B.
Switch statement
C.
If-then-else statement
D.
immediate if
Correct Answer:
C. If-then-else statement
Q.
72
The class used to right align the navigation bar buttons is -
A.
.navbar-rgt
B.
.navbar-btn
C.
.navbar-right
D.
.navbar-default
Correct Answer:
C. .navbar-right
Q.
73
Which HTML tag is used to declare internal CSS ?
A.
<style>
B.
<link>
C.
<script>
D.
None of the above
Correct Answer:
A. <style>
Q.
74
Who developed the bootstrap ?
A.
James Gosling
B.
Mark Jukervich
C.
Dennis Ritchie
D.
Mark Otto and Jacob Thornton
Correct Answer:
D. Mark Otto and Jacob Thornton
Q.
75
The jQuery method used to remove the set of matched elements is
A.
delete() method
B.
empty() method
C.
remove() method
D.
None of the above
Correct Answer:
C. remove() method
Q.
76
How many columns are allowed in a bootstrap grid system ?
A.
2 columns
B.
12 columns
C.
3 columns
D.
5 columns
Correct Answer:
B. 12 columns
Q.
77
How can we select an element with a specific Class in CSS ?
A.
#
B.
^
C.
.
D.
None of the above
Correct Answer:
C. .
Q.
78
What type of CSS is the following code snippet ? <h1 style="color:blue;"> A Blue Heading </h1>
A.
Inline
B.
Internal
C.
External
D.
None of the above
Correct Answer:
A. Inline
Q.
79
Can negative values be allowed in padding property ?
A.
No
B.
Yes
C.
Depends on property
D.
None of the above
Correct Answer:
A. No
Q.
80
Which of the following class in Bootstrap is used to create a large button ?
A.
.btn-xl
B.
.btn-lrg
C.
.btn-large
D.
.btn-lg
Correct Answer:
D. .btn-lg
Q.
81
The CSS property used to specify the transparency of an element is ?
A.
opacity
B.
visibility
C.
filter
D.
None of the above
Correct Answer:
A. opacity
Q.
82
The class in Bootstrap which is used to specify the collapsible elements is -
A.
.collapse
B.
.carousel
C.
.pager
D.
None of the above
Correct Answer:
A. .collapse
Q.
83
How can we specify the spacing between each letter in a text in CSS ?
A.
alpha-spacing
B.
letter-spacing
C.
character-spacing
D.
None of the above
Correct Answer:
B. letter-spacing
Q.
84
Which of the following class in Bootstrap is used for creating the large size modals ?
A.
.modal-large
B.
.modal-big
C.
.modal-lg
D.
.modal-sm
Correct Answer:
C. .modal-lg
Q.
85
What is the correct syntax for referring an external CSS ?
A.
<link rel="stylesheet" type="text/css" href="style.css">
B.
<stylesheet rel="stylesheet" type="text/css" href="style.css">
C.
<style rel="stylesheet" type="text/css" href="style.css">
D.
All the Above
Correct Answer:
A. <link rel="stylesheet" type="text/css" href="style.css">
Q.
86
Who developed jQuery, and in which year it was first released ?
A.
John Richard in 2001
B.
Mark Bensman in 2004
C.
John Resig in 2006
D.
None of the above
Correct Answer:
C. John Resig in 2006
Q.
87
What type of CSS is generally recommended for designing large web pages ?
A.
Inline
B.
Internal
C.
External
D.
None of the above
Correct Answer:
C. External
Q.
88
Is Bootstrap 3 mobile-first ?
A.
TRUE
B.
FALSE
C.
Can't say
D.
May be
Correct Answer:
A. TRUE
Q.
89
jQuery is a -
A.
JavaScript method
B.
JavaScript library
C.
JSON library
D.
PHP method
Correct Answer:
B. JavaScript library
Q.
90
How can we select an element with a specific ID in CSS ?
A.
#
B.
.
C.
^
D.
None of the above
Correct Answer:
A. #
Q.
91
Which of the following class in Bootstrap is used to provide a responsive fixed width container ?
A.
.container-fixed
B.
.container-fluid
C.
.container
D.
All of the above
Correct Answer:
C. .container
Q.
92
The jQuery method used to get all ancestors of the matched set of elements is -
A.
parents() method
B.
parent() method
C.
offsetParent() method
D.
None of the above
Correct Answer:
A. parents() method
Q.
93
Which of the following sign is used as a shortcut for jQuery ?
A.
the % sign
B.
the & sign
C.
the $ sign
D.
the @ sign
Correct Answer:
C. the $ sign
Q.
94
Which of the following class in bootstrap is used to create a big box for calling extra attention ?
A.
.box
B.
.container
C.
.container-fluid
D.
.jumbotron
Correct Answer:
D. .jumbotron
Q.
95
How can we write comments in CSS ?
A.
/* */
B.
//
C.
#
D.
All of the above
Correct Answer:
A. /* */
Q.
96
Which of the following class in Bootstrap is used to create a dropdown menu ?
A.
.dropdown
B.
.select
C.
.select-list
D.
None of the above
Correct Answer:
A. .dropdown
Q.
97
In the below code snippet, in what order will the margins be added ?
p {
margin: 25px 50px 75px 100px;
}
A.
Top, Right, Bottom, Left
B.
Top, Left, Bottom, Right
C.
Top, Bottom, Right, Left
D.
Right, Left, Top, Bottom
Correct Answer:
A. Top, Right, Bottom, Left
Q.
98
Which type of JavaScript language is ___
A.
Object-Oriented
B.
Object-Based
C.
Assembly-language
D.
High-level
Correct Answer:
B. Object-Based
Q.
99
What is the effect of the tag?
A.
It converts the text within it to bold font.
B.
It is used to write black-colored font.
C.
It is used to change the font size.
D.
None of the above.
Correct Answer:
A. It converts the text within it to bold font.