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
:
29
:
00
Q:
1
/
32
🤖
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.
JavaScript Mock Test 12
Exam Duration:
00:29:00
JavaScript Mock Test 12
: Question
1
of 32
Plants growing in drier conditions tend to have small numbers of stomata on their lower leaf surface to save:
1 Mark(s)
Your Answer:
water loss
water loss
stored sunlight
stored sunlight
to prevent itself from consumers
to prevent itself from consumers
energy loss
energy loss
What will the following code output: my_list = [1, 2, 3] new_list = my_list.copy() print(new_list)
1 Mark(s)
Your Answer:
[1, 2, 3]
[1, 2, 3]
[1, 2, 3, 1, 2, 3]
[1, 2, 3, 1, 2, 3]
[1, 1, 2, 2, 3, 3]
[1, 1, 2, 2, 3, 3]
[2, 1, 3]
[2, 1, 3]
How can we make a C++ class such that objects of it can only be created using new operator? If user tries to create an object directly, the program produces compiler error.
1 Mark(s)
Your Answer:
Not possible
Not possible
By making constructor private
By making constructor private
By making both constructor and destructor private
By making both constructor and destructor private
FIFO stands for:
1 Mark(s)
Your Answer:
First In First Out
First In First Out
Fast In Fast Out
Fast In Fast Out
First Input First Output
First Input First Output
File In File Out
File In File Out
The shortcut key Ctrl + Shift + Esc is used to directly open which feature in Windows?
1 Mark(s)
Your Answer:
Control Panel
Control Panel
File Explorer
File Explorer
Task Manager
Task Manager
Settings
Settings
In the old-time, a user was connected to the Internet with a:
1 Mark(s)
Your Answer:
ISP
ISP
ADSL
ADSL
DSL
DSL
dial up line
dial up line
Which of the following applies to a class rather than an object?
1 Mark(s)
Your Answer:
Query
Query
Update
Update
Scope
Scope
Constructor
Constructor
Select the interfaces implemented by array class.
1 Mark(s)
Your Answer:
ICloneable, ICollection
ICloneable, ICollection
IEnumerable, IStructuralComparable, IStructuralEquatable
IEnumerable, IStructuralComparable, IStructuralEquatable
ICloneable, ICollection, IList
ICloneable, ICollection, IList
Only IEnumerable, IStructuralComparable, IStructuralEquatable & ICloneable, ICollection, IList
Only IEnumerable, IStructuralComparable, IStructuralEquatable & ICloneable, ICollection, IList
Reinforcement Learning involves:
1 Mark(s)
Your Answer:
Rewards/Penalties
Rewards/Penalties
Labels
Labels
Clusters
Clusters
Regression
Regression
In C#, which block is used to clean up resources in exception handling, regardless of whether an exception occurs or not?
1 Mark(s)
Your Answer:
throw
throw
catch
catch
finally
finally
try
try
Which of the following is the most preferred way of throwing and handling exceptions?
1 Mark(s)
Your Answer:
Throw by value and catch by reference.
Throw by value and catch by reference.
Throw by reference and catch by reference.
Throw by reference and catch by reference.
Throw by value and catch by value
Throw by value and catch by value
Throw the pointer value and provide catch for the pointer type.
Throw the pointer value and provide catch for the pointer type.
How do you represent a hexadecimal number in C?
1 Mark(s)
Your Answer:
0x
0x
0h
0h
#
#
$
$
Which STL container is suitable for implementing a priority queue?
1 Mark(s)
Your Answer:
vector
vector
queue
queue
deque
deque
priority_queue
priority_queue
fgets() is used to read a file one line at a time.
1 Mark(s)
Your Answer:
True
True
False
False
What is the difference between std::async and std::thread in C++ multi-threading?
1 Mark(s)
Your Answer:
std::async returns a std::future object representing the result of the asynchronous operation, while std::thread does not return anything
std::async returns a std::future object representing the result of the asynchronous operation, while std::thread does not return anything
std::thread allows you to specify the execution policy, while std::async does not
std::thread allows you to specify the execution policy, while std::async does not
std::async creates a new thread and executes a function asynchronously, while std::thread simply creates a new thread
std::async creates a new thread and executes a function asynchronously, while std::thread simply creates a new thread
std::thread provides more control over thread creation and management compared to std::async
std::thread provides more control over thread creation and management compared to std::async
How can you quickly reinstate a deleted footer placeholder in master view?
1 Mark(s)
Your Answer:
Create a new slide master
Create a new slide master
Re-apply the footer placeholder
Re-apply the footer placeholder
Re-apply the slide layout
Re-apply the slide layout
All of the above
All of the above
Which reference modifier is used to define reference variable?
1 Mark(s)
Your Answer:
&
&
ref
ref
#
#
$
$
Presence of liquid and solid state is evidence of:
1 Mark(s)
Your Answer:
non polarized material
non polarized material
polarized material
polarized material
non crystalline material
non crystalline material
crystalline material
crystalline material
In unicast Routing, each node uses the same topology to create a routing table and the routing table for each node is:
1 Mark(s)
Your Answer:
reflective
reflective
constant
constant
unique
unique
identical
identical
tag is used in …
1 Mark(s)
Your Answer:
head
head
body
body
title
title
none of these
none of these
In a computer, expansion cards are inserted into:
1 Mark(s)
Your Answer:
slots of CPU
slots of CPU
peripheral devices
peripheral devices
hard disk of CPU
hard disk of CPU
back of monitor
back of monitor
HTML stands for:
1 Mark(s)
Your Answer:
HyperText Markup Language
HyperText Markup Language
HyperText Make Language
HyperText Make Language
HighText Markup Language
HighText Markup Language
HyperLinks Text Language
HyperLinks Text Language
Which one of the following can be considered as the example of the Front-end?
1 Mark(s)
Your Answer:
Web Browser
Web Browser
Google Compute Engine
Google Compute Engine
Cisco Metapod
Cisco Metapod
Amazon Web Services
Amazon Web Services
To get the current date, the . . . . . . . . function will return a Date object which can be converted to a different class if necessary.
1 Mark(s)
Your Answer:
Sys.Time
Sys.Time
Sys.Date
Sys.Date
Sys.DateTime
Sys.DateTime
DateTime
DateTime
A metal that is attractive and has a high value is:
1 Mark(s)
Your Answer:
gold
gold
lead
lead
Sulphur
Sulphur
aluminum
aluminum
Which of the following writes MapFiles as output?
1 Mark(s)
Your Answer:
DBInpFormat
DBInpFormat
MapFileOutputFormat
MapFileOutputFormat
SequenceFileAsBinaryOutputFormat
SequenceFileAsBinaryOutputFormat
None of the mentioned
None of the mentioned
A _________ identifies a location or a selection of text that you name and identify for future reference.
1 Mark(s)
Your Answer:
Bookmark
Bookmark
Header
Header
Page number
Page number
None of these
None of these
In order to email a Word document from within MS Word
1 Mark(s)
Your Answer:
Office button > Send to > Mail Recipient
Office button > Send to > Mail Recipient
Save the file as an email attachment
Save the file as an email attachment
Start Outlook and attach the file while open in Word
Start Outlook and attach the file while open in Word
This is an impossible operation
This is an impossible operation
A magnetic disk's tracks are divided into smaller parts which is known as:
1 Mark(s)
Your Answer:
clusters
clusters
sectors
sectors
bytes
bytes
slices
slices
How do you define a generator function in Python?
1 Mark(s)
Your Answer:
Using the generator keyword
Using the generator keyword
Using the def keyword and yield statement
Using the def keyword and yield statement
Using the gen keyword
Using the gen keyword
Using the function keyword
Using the function keyword
Resource locking is a process to prevent multiple applications from obtaining copies of the same record when the record is about to be changed.
1 Mark(s)
Your Answer:
True
True
False
False
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.