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
01
:
04
:
00
Q:
1
/
71
🤖
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 12
Exam Duration:
01:04:00
Web Development Mock Test 12
: Question
1
of 71
What will be the output of the following Python code? a = [5,5,6,7,7,7] b = set(a) def test(lst): if lst in b: return 1 else: return 0 for i in filter(test, a): print(i,end=" ")
1 Mark(s)
Your Answer:
5 5 6
5 5 6
5 6 7
5 6 7
5 5 6 7 7 7
5 5 6 7 7 7
5 6 7 7 7
5 6 7 7 7
What is the direct consequence of eutrophication in an aquatic ecosystem?
1 Mark(s)
Your Answer:
A) Excessive growth of algae leading to oxygen depiction
A) Excessive growth of algae leading to oxygen depiction
B) Increase in the depth of the ocean floor
B) Increase in the depth of the ocean floor
C) Gradual cooling of the water body’s temperature
C) Gradual cooling of the water body’s temperature
D) Rapid increase in clean drinking water resources.
D) Rapid increase in clean drinking water resources.
What is the output of the given code? if 11>2 puts "Eleven is greater than two" end print "You'r right"
1 Mark(s)
Your Answer:
Eleven is greater than two
Eleven is greater than two
You'r right
You'r right
Eleven is greater than two You'r right
Eleven is greater than two You'r right
None of the mentioned
None of the mentioned
What is the result of the expression ptr = NULL in C, where ptr is a pointer?
1 Mark(s)
Your Answer:
Initialize ptr to 0
Initialize ptr to 0
Delete the pointer ptr
Delete the pointer ptr
Set ptr to a random address
Set ptr to a random address
It's not a valid operation
It's not a valid operation
Data scrubbing can help upgrade data quality; it is not a long-term solution to the data quality problem.
1 Mark(s)
Your Answer:
True
True
False
False
Given Adjacency matrices determine which of them are PseudoGraphs? i. {{1,0} {0,1}} ii. {{0,1}{1,0}} iii. {{0,0,1}{0,1,0}{1,0,0}}
1 Mark(s)
Your Answer:
only i
only i
ii and iii
ii and iii
i and iii
i and iii
i, ii and iii
i, ii and iii
What is the primary difference between a std::mutex and a std::spinlock in C++ multi-threading?
1 Mark(s)
Your Answer:
std::spinlock is a blocking synchronization primitive, while std::mutex is a non-blocking synchronization primitive
std::spinlock is a blocking synchronization primitive, while std::mutex is a non-blocking synchronization primitive
They both provide the same functionality
They both provide the same functionality
std::mutex is a blocking synchronization primitive, while std::spinlock is a non-blocking synchronization primitive
std::mutex is a blocking synchronization primitive, while std::spinlock is a non-blocking synchronization primitive
std::spinlock is more efficient than std::mutex
std::spinlock is more efficient than std::mutex
: What is the output of the following code in Python? array = [[1, 2], [3, 4]]; print(array[1][0])
1 Mark(s)
Your Answer:
1
1
2
2
3
3
4
4
What constant defined in <climits> header returns the number of bits in a char?
1 Mark(s)
Your Answer:
CHAR_SIZE
CHAR_SIZE
SIZE_CHAR
SIZE_CHAR
BIT_CHAR
BIT_CHAR
CHAR_BIT
CHAR_BIT
What is the purpose of minifying the JavaScript?
1 Mark(s)
Your Answer:
To streamline the visits
To streamline the visits
To save the visits
To save the visits
All of the mentioned
All of the mentioned
None of the mentioned
None of the mentioned
Can suffix tree be used in string problems occurring in a text editor.
1 Mark(s)
Your Answer:
True
True
False
False
In R, what does the function length() do?
1 Mark(s)
Your Answer:
Returns the sum of elements
Returns the sum of elements
Returns the number of elements
Returns the number of elements
Sorts the elements
Sorts the elements
Computes the mean
Computes the mean
What is the problem statement for the N Queens problem?
1 Mark(s)
Your Answer:
To put N queens on an NxN chessboard so that no two queens attack each other.
To put N queens on an NxN chessboard so that no two queens attack each other.
The minimum quantity of chess board squares will be calculated if we place the queens on the N*N chess board.
The minimum quantity of chess board squares will be calculated if we place the queens on the N*N chess board.
To check the total number of queens that can be positioned in an N×N chessboard
To check the total number of queens that can be positioned in an N×N chessboard
Determine a board of size N×N presenting the shortest route that a queen can follow to get from one position to another.
Determine a board of size N×N presenting the shortest route that a queen can follow to get from one position to another.
Correct way to find if contents of two strings are equal is:
1 Mark(s)
Your Answer:
if (s1 = s2)
if (s1 = s2)
if (s1 != s2)
if (s1 != s2)
if (strcmp (s1 ,s2))
if (strcmp (s1 ,s2))
if ( s1 is s2)
if ( s1 is s2)
A hexadecimal literal begins with
1 Mark(s)
Your Answer:
00
00
0x
0x
0X
0X
Both 0x and 0X
Both 0x and 0X
The session layer of OSI model is responsible for:
1 Mark(s)
Your Answer:
Synchronization
Synchronization
Error control
Error control
Framing
Framing
Access control
Access control
The global assembly cache:
1 Mark(s)
Your Answer:
Can store two dll files with the same name
Can store two dll files with the same name
Can store two dll files with the same name, but different version
Can store two dll files with the same name, but different version
Can store two dll files with the same name and same version
Can store two dll files with the same name and same version
Can not store dll files with the same name
Can not store dll files with the same name
For making a hyperlink, what is the correct HTML?
1 Mark(s)
Your Answer:
Quiz 1
Quiz 1
url=”https://t4tutorials.com“>Quiz 2
url=”https://t4tutorials.com“>Quiz 2
https://t4tutorials.com
https://t4tutorials.com
none of these
none of these
Photosynthesis is a process in which carbon dioxide and water combine to form:
1 Mark(s)
Your Answer:
carbon
carbon
calcium
calcium
chlorophyll
chlorophyll
carbohydrates
carbohydrates
Kepler's law of period for Venus is:
1 Mark(s)
Your Answer:
248y
248y
0.615y
0.615y
165y
165y
1.88y
1.88y
Where is the R.java file located?
1 Mark(s)
Your Answer:
src
src
gen
gen
Both A and B
Both A and B
None of these
None of these
Which data structure is commonly used for efficiently handling fixed-size collections with frequent lookups?
1 Mark(s)
Your Answer:
Stack
Stack
Array
Array
Hash Map
Hash Map
Stack
Stack
Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use?
1 Mark(s)
Your Answer:
ksort()
ksort()
asort()
asort()
krsort()
krsort()
sort()
sort()
usort()
usort()
Which device is a Multi-port Repeater?
1 Mark(s)
Your Answer:
Hub
Hub
Switch
Switch
Router
Router
Bridge
Bridge
How do you declare a one-dimensional array in Java?
1 Mark(s)
Your Answer:
int[] myArray;
int[] myArray;
int myArray[];
int myArray[];
Array myArray;
Array myArray;
All of the above
All of the above
What is the purpose of the 'decltype' keyword in C++?
1 Mark(s)
Your Answer:
Determines the type of an expression or variable
Determines the type of an expression or variable
Declares the type of a function parameter
Declares the type of a function parameter
Specifies the type of a function's return value
Specifies the type of a function's return value
Returns the size of a data type
Returns the size of a data type
In the N Queens problem, how many possible positions are there for placing the first queen on an N×N chessboard?
1 Mark(s)
Your Answer:
N
N
N^2
N^2
N/2
N/2
2^N
2^N
The original argument is modified Which parameter passing mechanism is more memory-efficient for large data structures?
1 Mark(s)
Your Answer:
Call by value
Call by value
Call by reference
Call by reference
Call by value-return
Call by value-return
Call by copy
Call by copy
What does the term "lexical scope" refer to in Ruby?
1 Mark(s)
Your Answer:
The scope determined by the order of execution of statements
The scope determined by the order of execution of statements
The scope determined by the visibility of variables and methods in the current context
The scope determined by the visibility of variables and methods in the current context
The scope determined by where variables and methods are defined in the source code
The scope determined by where variables and methods are defined in the source code
The scope determined by the order of creation of objects
The scope determined by the order of creation of objects
Printer which uses dry ink powder is:
1 Mark(s)
Your Answer:
daisy wheel
daisy wheel
line
line
laser
laser
thermal
thermal
The function of Alt + Tab on the keyboard is?
1 Mark(s)
Your Answer:
Switch between open program
Switch between open program
Switch between close program
Switch between close program
Both
Both
Active search
Active search
If expression. The expression can be of which type?
1 Mark(s)
Your Answer:
True
True
Any number
Any number
Any string
Any string
All of the mentioned
All of the mentioned
DNA is a substance that makes up the foundations of:
1 Mark(s)
Your Answer:
nucleus
nucleus
cell membrane
cell membrane
vacuole
vacuole
mitochondria
mitochondria
Which is an example of WAN?
1 Mark(s)
Your Answer:
Share it
Share it
Mobile broadband connections
Mobile broadband connections
Bluetooth
Bluetooth
VPN
VPN
Each margin is considered to have a number of . . . . . . . .
1 Mark(s)
Your Answer:
Test
Test
Text lines
Text lines
Line segment
Line segment
Margins
Margins
What is the result of the expression string[] names = {"John", "Alice", "Bob"}; in C#?
1 Mark(s)
Your Answer:
A compilation error
A compilation error
Declares an array with three elements
Declares an array with three elements
Initializes an empty array
Initializes an empty array
Initializes an array with three elements
Initializes an array with three elements
Helium is a/an:
1 Mark(s)
Your Answer:
ion
ion
electron
electron
strong atom
strong atom
light atom
light atom
A derived element is typically shown by placing either a slash (/) or a stereotype of <> before the name of the element.
1 Mark(s)
Your Answer:
True
True
False
False
Data integrity is the process of protecting data from unauthorized:
1 Mark(s)
Your Answer:
Access
Access
Control
Control
Modification
Modification
Interruption
Interruption
Want your logo in the same position on every slide, automatically? Insert it on the
1 Mark(s)
Your Answer:
Handout master
Handout master
Notes master
Notes master
Slide master
Slide master
All of the above
All of the above
What does the attr_accessor method do in Ruby OOP?
1 Mark(s)
Your Answer:
Creates constructor methods
Creates constructor methods
Creates only a writer method
Creates only a writer method
Creates only a reader method
Creates only a reader method
Creates both reader and writer methods for class attributes
Creates both reader and writer methods for class attributes
Control panel in aspiration cage controls the:
1 Mark(s)
Your Answer:
opening
opening
speed
speed
quantity of waste material
quantity of waste material
all of above
all of above
Prevention is better than:
1 Mark(s)
Your Answer:
medicine
medicine
cure
cure
measures
measures
results
results
If the condition in IF statement is TRUE then:
1 Mark(s)
Your Answer:
the statements execute
the statements execute
program will be finished
program will be finished
call a method
call a method
solve an expression
solve an expression
In which one of the following, the multiple lower entities are grouped (or combined) together to form a single higher-level entity?
1 Mark(s)
Your Answer:
Specialization
Specialization
Generalization
Generalization
Aggregation
Aggregation
None of the above
None of the above
If large number of items are stored in hash bucket, what happens to the internal structure?
1 Mark(s)
Your Answer:
The bucket will switch from LinkedList to BalancedTree
The bucket will switch from LinkedList to BalancedTree
The bucket will increase its size by a factor of load size defined
The bucket will increase its size by a factor of load size defined
The LinkedList will be replaced by another hashmap
The LinkedList will be replaced by another hashmap
Any further addition throws Overflow exception
Any further addition throws Overflow exception
What is the storage duration of a variable with 'static' storage class?
1 Mark(s)
Your Answer:
Automatic
Automatic
Register
Register
External
External
Static
Static
Perceptual encoding is based on the science of:
1 Mark(s)
Your Answer:
frames
frames
music
music
rhythm
rhythm
psychoacoustics
psychoacoustics
Which keyword prevents a variable from being modified?
1 Mark(s)
Your Answer:
const
const
static
static
volatile
volatile
final
final
ask=T is a parameter that R asks before producing the . . . . . . . .
1 Mark(s)
Your Answer:
function
function
package
package
interface
interface
graphics
graphics
In chain of cellulose, hydroxyl groups are interlinked by means of:
1 Mark(s)
Your Answer:
coordinate bonds
coordinate bonds
strong bonds
strong bonds
hydrogen bonds
hydrogen bonds
weak bonds
weak bonds
What does the 'default' case represent in a 'switch' statement in C++?
1 Mark(s)
Your Answer:
Terminates the switch block
Terminates the switch block
Executes only when all other cases match
Executes only when all other cases match
Executes after every other case
Executes after every other case
Executes when no other case matches
Executes when no other case matches
Feature which helps the user to insert the contents of clipboard as text without any formatting is:
1 Mark(s)
Your Answer:
paste special
paste special
format painter
format painter
page set up
page set up
style
style
Minimum threads in a program are________________?
1 Mark(s)
Your Answer:
0
0
1
1
2
2
3
3
Hexadecimal number system is used as a shorthand language to represent:
1 Mark(s)
Your Answer:
decimal numbers
decimal numbers
binary numbers
binary numbers
octal numbers
octal numbers
urinary numbers
urinary numbers
Vernier caliper helps in measuring:
1 Mark(s)
Your Answer:
external diameter
external diameter
internal diameter
internal diameter
thickness and depth of narrow tubes
thickness and depth of narrow tubes
all of them
all of them
What does the Android system use for status data?
1 Mark(s)
Your Answer:
Content provider
Content provider
Intents
Intents
Network
Network
None of these
None of these
Leaf nodes in a parse tree indicate?
1 Mark(s)
Your Answer:
sub-terminals
sub-terminals
half-terminals
half-terminals
non-terminals
non-terminals
terminals
terminals
What will be the output of the following PHP code? <?php echo str_pad("Salad", 5)." is good."; ?>
1 Mark(s)
Your Answer:
SaladSaladSaladSaladSalad is good
SaladSaladSaladSaladSalad is good
is good SaladSaladSaladSaladSalad
is good SaladSaladSaladSaladSalad
is good Salad
is good Salad
Salad is good
Salad is good
Internet addresses are usually written in:
1 Mark(s)
Your Answer:
binary notation
binary notation
dotted hexa notation
dotted hexa notation
octant notation
octant notation
dotted decimal notation
dotted decimal notation
In R, which package is commonly used for Bayesian analysis of hierarchical models?
1 Mark(s)
Your Answer:
BHM
BHM
brms
brms
hbayes
hbayes
bayesR
bayesR
Which command is used to install gems listed in a Gemfile.lock file?
1 Mark(s)
Your Answer:
install Gemfile.lock
install Gemfile.lock
bundle install
bundle install
gem bundle install
gem bundle install
None of the above
None of the above
The type of comments in c# are:
1 Mark(s)
Your Answer:
Single Line Comment E.g. : //
Single Line Comment E.g. : //
Multiline Comments E.g.: /* */
Multiline Comments E.g.: /* */
XML Comments E.g. : ///
XML Comments E.g. : ///
All of the above
All of the above
Consider the 2-level skip list How to access 38?
1 Mark(s)
Your Answer:
travel 20-30-35-38
travel 20-30-35-38
travel 20-30-40-38
travel 20-30-40-38
travel 20-38
travel 20-38
travel 20-40-38
travel 20-40-38
Which function is used to simulate discrete uniform random variables?
1 Mark(s)
Your Answer:
Sample
Sample
Simple
Simple
Function
Function
Variance
Variance
Which of the following term is used to keep track of the location where the current values of the name are stored?
1 Mark(s)
Your Answer:
Register descriptor
Register descriptor
Address descriptor
Address descriptor
Allocation descriptor
Allocation descriptor
Flag register
Flag register
What will be the output of the following Java program? class evaluate { public static void main(String args[]) { int a[] = {1,2,3,4,5}; int d[] = a; int sum = 0; for (int j = 0; j
1 Mark(s)
Your Answer:
38
38
39
39
40
40
41
41
Correct syntax for $.post() method is . . . . . . . .
1 Mark(s)
Your Answer:
$.post(URL,data,callback)
$.post(URL,data,callback)
$.post(URL,data)
$.post(URL,data)
$.post(URL,callback)
$.post(URL,callback)
$.post(data,callback)
$.post(data,callback)
A system is using Non Return-to-zero-invert (NRZ-I) to transfer 10-Mbps data. What would be minimum bandwidth?
1 Mark(s)
Your Answer:
500 kHz
500 kHz
1000 kHz
1000 kHz
2000 kHz
2000 kHz
5000 kHz
5000 kHz
What is the mode of b in the following R code? b <- c(TRUE, TRUE, 1)
1 Mark(s)
Your Answer:
Numeric
Numeric
Character
Character
Integer
Integer
Logical
Logical
When resistances are in parallel, they have:
1 Mark(s)
Your Answer:
same current
same current
same inductance
same inductance
same potential difference
same potential difference
same capacitance
same capacitance
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.