Create Account
Sign In
Toggle navigation
Home
Practice Exams
Official IQ Testing Hub
MCQ Learn
Board Exams
Learn
BISE Courses
Blog
About Us
Contact Us
00
:
42
:
00
Q:
1
/
47
🤖
Evaluating Your Answers
Please wait while our AI system evaluates your descriptive answers...
This may take a few moments.
⏳ Processing...
We're using advanced AI to provide detailed feedback on your answers.
Web Development Mock Test 1
Exam Duration:
00:42:00
Web Development Mock Test 1
: Question
1
of 47
What is the result of a successful search operation in a BST when the searched element is not present?
1 Mark(s)
Your Answer:
The search will return the node containing the element.
The search will return the node containing the element.
The search will return the parent node of the searched element.
The search will return the parent node of the searched element.
The search will return a null pointer.
The search will return a null pointer.
The search will return the root node.
The search will return the root node.
The URLs in the administrative links won’t mean anything to admin.php unless you modify _________
1 Mark(s)
Your Answer:
.htaccess
.htaccess
.adminaccess
.adminaccess
.htmlaccess
.htmlaccess
.urlaccess
.urlaccess
Which version of PHP allows you to define constant properties within a class?
1 Mark(s)
Your Answer:
PHP 4
PHP 4
PHP 4.1
PHP 4.1
PHP 4.3
PHP 4.3
PHP 5
PHP 5
Which one of the following statement is true about Grid Computing?
1 Mark(s)
Your Answer:
Pieces combine small tasks into complex tasks
Pieces combine small tasks into complex tasks
The subscription tier plays an important role in grid computing.
The subscription tier plays an important role in grid computing.
Breaks complex tasks into small operations
Breaks complex tasks into small operations
Both A and C
Both A and C
Which of the following is NOT a standard exception class provided by .NET Framework in C#?
1 Mark(s)
Your Answer:
InvalidOperationException
InvalidOperationException
DivideByZeroException
DivideByZeroException
ArgumentNullException
ArgumentNullException
SQLException
SQLException
Interval '(b,+∞)={x| x > (b+23)} ' is classified:
1 Mark(s)
Your Answer:
open bounded
open bounded
close bounded
close bounded
open unbounded
open unbounded
close unbounded
close unbounded
The major drawback of RAD model is __________.
1 Mark(s)
Your Answer:
It requires highly skilled developers/designers.
It requires highly skilled developers/designers.
It necessitates customer feedbacks.
It necessitates customer feedbacks.
It increases the component reusability.
It increases the component reusability.
Both (a) & (c)
Both (a) & (c)
The expected value for the estimation variable (size), S, can be computed as a weighted average of the optimistic(Sopt), most likely (Sm), and pessimistic (Spess) estimates given as___________________?
1 Mark(s)
Your Answer:
EV = (Sopt + 4Sm + Spess)/4
EV = (Sopt + 4Sm + Spess)/4
EV = (Sopt + 4Sm + Spess)/6
EV = (Sopt + 4Sm + Spess)/6
EV = (Sopt + 2Sm + Spess)/6
EV = (Sopt + 2Sm + Spess)/6
EV = (Sopt + 2Sm + Spess)/4
EV = (Sopt + 2Sm + Spess)/4
Which of the following R code creates a connection to 'foo.txt'?
1 Mark(s)
Your Answer:
con <- file("foo.txt")
con <- file("foo.txt")
open(con, "r")
open(con, "r")
opencon(con, "r")
opencon(con, "r")
ocon(con, "r")
ocon(con, "r")
Which one of the following given statements is correct about the increment operator?
1 Mark(s)
Your Answer:
Increment operator(or ++ ) usually adds 2 to its operand
Increment operator(or ++ ) usually adds 2 to its operand
Decrement operator ++ subtracts 1 to its operand
Decrement operator ++ subtracts 1 to its operand
Decrement operator ++ subtracts 3 to its operand
Decrement operator ++ subtracts 3 to its operand
Increment operator (or ++ ) usually adds 1 to its operand
Increment operator (or ++ ) usually adds 1 to its operand
What is the result of 'True and False' ?
1 Mark(s)
Your Answer:
True
True
False
False
None
None
Error
Error
Which of the following can be considered as the correct syntax of for loop?
1 Mark(s)
Your Answer:
for(initialization; condition; increment/decrement operator){}
for(initialization; condition; increment/decrement operator){}
for(initialization, condition; increment/decrement operator){}
for(initialization, condition; increment/decrement operator){}
for(initialization; increment/decrement operator;condition;{}
for(initialization; increment/decrement operator;condition;{}
None of the above
None of the above
What is the purpose of the SelectMany operator in LINQ?
1 Mark(s)
Your Answer:
Filters a sequence based on a predicate
Filters a sequence based on a predicate
Orders the elements of a sequence
Orders the elements of a sequence
Groups the elements of a sequence
Groups the elements of a sequence
Projects each element of a sequence and flattens the resulting sequences
Projects each element of a sequence and flattens the resulting sequences
(IF [Age]>65, "Senior","Adult") This expression is an example of:
1 Mark(s)
Your Answer:
A conditional expression
A conditional expression
Algebraic expression
Algebraic expression
Something that belongs in a Microsoft Excel book
Something that belongs in a Microsoft Excel book
A financial expression
A financial expression
An innovative splicing system is:
1 Mark(s)
Your Answer:
splicer driven
splicer driven
water and air driven
water and air driven
heat driven
heat driven
weight driven
weight driven
What will be the output of the following PHP code ? <?php function fun() { static $x = 0; echo $x; $x++; } fun(); fun(); fun(); ?>
1 Mark(s)
Your Answer:
012
012
123
123
111
111
Error
Error
Which of the following methods is used to compare two strings for equality in Java?
1 Mark(s)
Your Answer:
equals()
equals()
compareTo()
compareTo()
equalsIgnoreCase()
equalsIgnoreCase()
compare()
compare()
The combination of Computers and Communication is called?
1 Mark(s)
Your Answer:
Microprocessor Technology
Microprocessor Technology
Digital Intelligence
Digital Intelligence
Information Technology
Information Technology
Internet Technology Answer
Internet Technology Answer
What is the significance of the Hadoop MapReduce job tracker?
1 Mark(s)
Your Answer:
Manages computation resources
Manages computation resources
Manages task execution in MapReduce jobs
Manages task execution in MapReduce jobs
Manages metadata of HDFS
Manages metadata of HDFS
Executes MapReduce jobs
Executes MapReduce jobs
What is the time complexity of accessing an element at the bottom of a stack implemented using a linked list?
1 Mark(s)
Your Answer:
O(1)
O(1)
O(n)
O(n)
O(log n)
O(log n)
O(n log n)
O(n log n)
Bag containing candies and salad are examples of:
1 Mark(s)
Your Answer:
collection
collection
solution
solution
compound
compound
mixture
mixture
What is the correct syntax for the 'while' loop in C++?
1 Mark(s)
Your Answer:
while (condition) { statement; }
while (condition) { statement; }
while (condition) then { statement; }
while (condition) then { statement; }
while { condition } { statement; }
while { condition } { statement; }
while { statement; } condition;
while { statement; } condition;
What is wrong with below code for inorder traversal of inorder threaded binary tree: inordertraversal(threadedtreenode root): threadedtreenode q = inorderpredecessor(root) while(q!=root): q=inorderpredecessor(q) print q.data
1 Mark(s)
Your Answer:
inordersuccessor instead of inorderpredecessor must be done
inordersuccessor instead of inorderpredecessor must be done
code is correct
code is correct
it is code for post order
it is code for post order
it is code for pre order
it is code for pre order
In which format does JavaScript support external JavaScript?
1 Mark(s)
Your Answer:
.js
.js
.php
.php
.js/php
.js/php
.jss
.jss
Microprocessor as switching devices is for ____ generation computer.?
1 Mark(s)
Your Answer:
First Generation
First Generation
Second Generation
Second Generation
Third Generation
Third Generation
Fourth Generation Answer
Fourth Generation Answer
How many characters can a string hold when declared as follows? char name[20]: ``` char name[20]: ```
1 Mark(s)
Your Answer:
18
18
19
19
20
20
None of the these
None of the these
The different classes of relations created by the technique for preventing modification anomalies are called:
1 Mark(s)
Your Answer:
normal forms.
normal forms.
referential integrity constraints.
referential integrity constraints.
functional dependencies.
functional dependencies.
None of the above is correct.
None of the above is correct.
What will be the output of the following Python code? >>>t=(1,2,4,3) >>>t[1:3]
1 Mark(s)
Your Answer:
(1, 2)
(1, 2)
(1, 2, 4)
(1, 2, 4)
(2, 4)
(2, 4)
(2, 4, 3)
(2, 4, 3)
Total energy of an orbiting satellite depends on semimajor axis of its orbit and not its eccentricity, when orbit is:
1 Mark(s)
Your Answer:
circular
circular
elliptical
elliptical
triangular
triangular
rectangular
rectangular
If n is the length of text(T) and m is the length of the pattern(P) identify the correct pre-processing algorithm. (where q is a suitable modulus to reduce the complexity) p=0; t0=0;
1 Mark(s)
Your Answer:
for i=1 to n do t0=(dt0 + P[i])mod q p=(dp+T[i])mod q
for i=1 to n do t0=(dt0 + P[i])mod q p=(dp+T[i])mod q
for i=1 to n do p=(dp + P[i])mod q t0=(dt0+T[i])mod q
for i=1 to n do p=(dp + P[i])mod q t0=(dt0+T[i])mod q
for i=1 to m do t0=(dp + P[i])mod q p=(dt0+T[i])mod q
for i=1 to m do t0=(dp + P[i])mod q p=(dt0+T[i])mod q
for i=1 to m do p=(dp + P[i])mod q t0=(dt0+T[i])mod q
for i=1 to m do p=(dp + P[i])mod q t0=(dt0+T[i])mod q
Bellmann Ford algorithm was first proposed by . . . . . . . .
1 Mark(s)
Your Answer:
Richard Bellmann
Richard Bellmann
Alfonso Shimbe
Alfonso Shimbe
Lester Ford Jr
Lester Ford Jr
Edward F. Moore
Edward F. Moore
The chloroplast splits water molecules to release oxygen and add hydrogen to carbon atoms for the formation of:
1 Mark(s)
Your Answer:
Glucose
Glucose
Starch
Starch
water
water
sugar
sugar
Which process represent condensation?
1 Mark(s)
Your Answer:
A) water from oceans to clouds
A) water from oceans to clouds
B) falling of rain
B) falling of rain
C) water from lakes to clouds
C) water from lakes to clouds
D) water from river to clouds Fill in the blanks with appropriate words: 1. ____________ is needed for drinking, bathing, washing our clothes and many more functions. Answer: Water 2. Large part of the earth is covered by ____________ Answer: ocean and seas 3. The water in the oceans is very ____________ in taste. Answer: salty 4. Ice, water and ____________ are the three states of same material. Answer: steam 5. Water vapours get continuously added to atmosphere due to evaporation and ____________ Answer: transpiration 6. The process of conversion of vapours into liquid is known as ____________ Answer: condensation 7. Falling of ____________ is called precipitation. Answer: water drops 8. If water during precipitation remains liquid till it reaches the surface of earth we have ____________ Answer: rains 9. Precipitation in frozen form is called ____________ Answer: hail/snow 10. Water drops present on gfass during winter morning is called ____________ Answer: dew 11. ____________ carry the water which mainly serves the purpose of drinking. Answer: Rivers 12. Nearly all the trains in winters run late because of a natural phenomenon known as ____________ Answer: fog 13. ____________ is the basis of life. Answer: Water 14. Most of the water that human beings use come from ____________ Answer: rivers 15. Oceans act as a ____________ for large number of plants and animals. Answer: habitat 3. State whether the statements given below are True or False: (i) Water is needed in producing almost all materials and goods that we use in our everyday life. Answer: True (ii) Oceans are the major sources of sweet water. Answer: False (iii) Water from wet roads, rooftops and other places disappears some time after the rains. Answer: True (iv) The process of condensation is opposite to evaporation. Answer: True (v) Clouds are the mixture of opaque gases. Answer: False (vi) Condensation near the surface of earth, results in jog. Answer: True (vii) Vapourisation takes place only in presence of sunlight. Answer: False (viii) Cloudy formation occurs only at higher temperatures. Answer: False (ix) Rains feed almost all other sources of water. Answer: True (x) We should take bath by as much water as we can. Answer: False 4. Match the following items given in Column A with that in Column B:
D) water from river to clouds Fill in the blanks with appropriate words: 1. ____________ is needed for drinking, bathing, washing our clothes and many more functions. Answer: Water 2. Large part of the earth is covered by ____________ Answer: ocean and seas 3. The water in the oceans is very ____________ in taste. Answer: salty 4. Ice, water and ____________ are the three states of same material. Answer: steam 5. Water vapours get continuously added to atmosphere due to evaporation and ____________ Answer: transpiration 6. The process of conversion of vapours into liquid is known as ____________ Answer: condensation 7. Falling of ____________ is called precipitation. Answer: water drops 8. If water during precipitation remains liquid till it reaches the surface of earth we have ____________ Answer: rains 9. Precipitation in frozen form is called ____________ Answer: hail/snow 10. Water drops present on gfass during winter morning is called ____________ Answer: dew 11. ____________ carry the water which mainly serves the purpose of drinking. Answer: Rivers 12. Nearly all the trains in winters run late because of a natural phenomenon known as ____________ Answer: fog 13. ____________ is the basis of life. Answer: Water 14. Most of the water that human beings use come from ____________ Answer: rivers 15. Oceans act as a ____________ for large number of plants and animals. Answer: habitat 3. State whether the statements given below are True or False: (i) Water is needed in producing almost all materials and goods that we use in our everyday life. Answer: True (ii) Oceans are the major sources of sweet water. Answer: False (iii) Water from wet roads, rooftops and other places disappears some time after the rains. Answer: True (iv) The process of condensation is opposite to evaporation. Answer: True (v) Clouds are the mixture of opaque gases. Answer: False (vi) Condensation near the surface of earth, results in jog. Answer: True (vii) Vapourisation takes place only in presence of sunlight. Answer: False (viii) Cloudy formation occurs only at higher temperatures. Answer: False (ix) Rains feed almost all other sources of water. Answer: True (x) We should take bath by as much water as we can. Answer: False 4. Match the following items given in Column A with that in Column B:
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1 Mark(s)
Your Answer:
1
1
2
2
4
4
Error, the keys can't be a mixture of letters and numbers
Error, the keys can't be a mixture of letters and numbers
Line coding includes digital signals conversion of a sequence of:
1 Mark(s)
Your Answer:
Bits
Bits
Frames
Frames
Packets
Packets
Segments
Segments
What is the code snippet to change the class and let the stylesheet specify the details?
1 Mark(s)
Your Answer:
timestamp.className = "highlight";
timestamp.className = "highlight";
timestamp.className = "change";
timestamp.className = "change";
timestamp.className = "specify";
timestamp.className = "specify";
timestamp.className = "move";
timestamp.className = "move";
In the Java Collections Framework, which interface extends the `List` interface to provide more efficient insertions and deletions in the middle of the list?
1 Mark(s)
Your Answer:
`Map`
`Map`
`Set`
`Set`
`Deque`
`Deque`
`Queue`
`Queue`
You can run Pig in interactive mode using the . . . . . . . . shell.
1 Mark(s)
Your Answer:
Grunt
Grunt
FS
FS
HDFS
HDFS
None of the mentioned
None of the mentioned
Which of the following constructors are provided by the C++ compiler if not defined in a class?
1 Mark(s)
Your Answer:
Default constructor
Default constructor
Assignment constructor
Assignment constructor
Copy constructor
Copy constructor
All of the mentioned
All of the mentioned
XML Schemas consist of:
1 Mark(s)
Your Answer:
Properties and methods.
Properties and methods.
Elements and attributes.
Elements and attributes.
Structure and data.
Structure and data.
Tables and relationships.
Tables and relationships.
The node directly above a node is called
1 Mark(s)
Your Answer:
sibling
sibling
child
child
parent
parent
ancestors
ancestors
Which of the following physical quantity has S.I. unit J/C?
1 Mark(s)
Your Answer:
Electric flux
Electric flux
Dipole moment
Dipole moment
Electric Potential
Electric Potential
Electric field intensity
Electric field intensity
In Java Serialization, what happens if a serialized class changes between serialization and deserialization?
1 Mark(s)
Your Answer:
The program crashes
The program crashes
An `InvalidClassException` is thrown
An `InvalidClassException` is thrown
A warning message is displayed
A warning message is displayed
None of These
None of These
In a B-Tree of order m, what is the maximum number of keys a node can contain?
1 Mark(s)
Your Answer:
m + 1
m + 1
m
m
m / 2
m / 2
m + 1
m + 1
Which type of inheritance allows a class to inherit properties and behavior from multiple base classes in C++?
1 Mark(s)
Your Answer:
Single inheritance
Single inheritance
Hierarchical inheritance
Hierarchical inheritance
Multilevel inheritance
Multilevel inheritance
Multiple inheritance
Multiple inheritance
To place a call from a mobile station, the caller enters a code of:
1 Mark(s)
Your Answer:
5 to 7 digit code
5 to 7 digit code
7 to 9 digit code
7 to 9 digit code
7 to 10 digit code
7 to 10 digit code
10 to 14 digit code
10 to 14 digit code
Absent any actual need for choosing one method over the other, does passing arrays by value to a read-only function reduce performance compared to passing them by reference?
1 Mark(s)
Your Answer:
Yes, because the interpreter must always create a copy of the array before passing it to the function.
Yes, because the interpreter must always create a copy of the array before passing it to the function.
Yes, but only if the function modifies the contents of the array.
Yes, but only if the function modifies the contents of the array.
Yes, but only if the array is large.
Yes, but only if the array is large.
Yes, because PHP must monitor the execution of the function to determine if changes are made to the array.
Yes, because PHP must monitor the execution of the function to determine if changes are made to the array.
No
No
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.