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
:
50
:
00
Q:
1
/
56
🤖
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.
Artificial Intelligence Mock Test 12
Exam Duration:
00:50:00
Artificial Intelligence Mock Test 12
: Question
1
of 56
Which of the following opens connection to gz-compressed text file?
1 Mark(s)
Your Answer:
con <- gzfiles("words.gz")
con <- gzfiles("words.gz")
con <- gzfile("words.gz")
con <- gzfile("words.gz")
con <- gzfile2("words.gz")
con <- gzfile2("words.gz")
con <- gzfiles2("words.gz")
con <- gzfiles2("words.gz")
The correct sequence of air passage during inhalation is -
1 Mark(s)
Your Answer:
Larynx --> Trachea --> Pharynx --> Lungs --> Nostrils
Larynx --> Trachea --> Pharynx --> Lungs --> Nostrils
Nostrils --> Pharynx --> Larynx --> Trachea --> Alveoli
Nostrils --> Pharynx --> Larynx --> Trachea --> Alveoli
Nostrils --> Trachea --> Pharynx --> Lungs --> Larynx
Nostrils --> Trachea --> Pharynx --> Lungs --> Larynx
Trachea --> Lungs --> Pharynx --> Lungs --> Alveoli
Trachea --> Lungs --> Pharynx --> Lungs --> Alveoli
Select a convenient declaration and initialization of a floating point number:
1 Mark(s)
Your Answer:
float somevariable = 12.502D
float somevariable = 12.502D
float somevariable = (Double) 12.502D
float somevariable = (Double) 12.502D
float somevariable = (float) 12.502D
float somevariable = (float) 12.502D
float somevariable = (Decimal)12.502D
float somevariable = (Decimal)12.502D
Which menu is used to add a slide show in PowerPoint?
1 Mark(s)
Your Answer:
Slide Show
Slide Show
Home
Home
Insert
Insert
None of these
None of these
Which of the following principle of cyber security restricts how privileges are initiated whenever any object or subject is created?
1 Mark(s)
Your Answer:
Least privilege
Least privilege
Open-Design
Open-Design
Fail-safe Defaults
Fail-safe Defaults
None of the above
None of the above
What arithmetic operators cannot be used with strings in Python?
1 Mark(s)
Your Answer:
*
*
-
-
+
+
All of the mentioned
All of the mentioned
What property distinguishes a binary tree from a general tree?
1 Mark(s)
Your Answer:
Each node in a binary tree has at most two children, whereas in a general tree, nodes can have more than two children.
Each node in a binary tree has at most two children, whereas in a general tree, nodes can have more than two children.
Binary trees are balanced, while general trees are not.
Binary trees are balanced, while general trees are not.
Binary trees only have one level, while general trees have multiple levels.
Binary trees only have one level, while general trees have multiple levels.
Binary trees have a fixed height, while general trees have a variable height.
Binary trees have a fixed height, while general trees have a variable height.
How is a Data object represented internally in R language?
1 Mark(s)
Your Answer:
unclass (as.time ("2018-12-28"))
unclass (as.time ("2018-12-28"))
unclass (as.dat ("2018-12-28"))
unclass (as.dat ("2018-12-28"))
unclass (as.D (2018-12-28))
unclass (as.D (2018-12-28))
unclass (as.Date ("2018-12-28"))
unclass (as.Date ("2018-12-28"))
What will be the output of the following Python code? >>> a={1,2,3} >>> b=a >>> b.remove(3) >>> a
1 Mark(s)
Your Answer:
{1,2,3}
{1,2,3}
Error, copying of sets isn't allowed
Error, copying of sets isn't allowed
{1,2}
{1,2}
Error, invalid syntax for remove
Error, invalid syntax for remove
Which of the following is a mutable sequence type in Python?
1 Mark(s)
Your Answer:
str
str
tuple
tuple
list
list
bytes
bytes
What is the purpose of the `RandomAccessFile` class in Java?
1 Mark(s)
Your Answer:
It is used to read data from the keyboard
It is used to read data from the keyboard
It is used to write data to a file
It is used to write data to a file
It is used to perform mathematical operations
It is used to perform mathematical operations
It allows reading and writing at random positions in a file
It allows reading and writing at random positions in a file
What is the result of the following code snippet? try { String str = "Java"; int num = Integer.parseInt(str); } catch (NumberFormatException e) { System.out.println("NumberFormatException!"); } catch (Exception e) { System.out.println("Exception!"); } finally { System.out.println("Finally Block!"); }
1 Mark(s)
Your Answer:
Finally Block!
Finally Block!
NumberFormatException! Finally Block!
NumberFormatException! Finally Block!
Compilation error
Compilation error
Exception Block!
Exception Block!
Which one of the following is the use of function in python?
1 Mark(s)
Your Answer:
Functions don't provide better modularity for your application
Functions don't provide better modularity for your application
you can't also create your own functions
you can't also create your own functions
Functions are reusable pieces of programs
Functions are reusable pieces of programs
All of the mentioned
All of the mentioned
Server-Sent Events allows a web page to get updates from:
1 Mark(s)
Your Answer:
Windows
Windows
Local Storage
Local Storage
Server
Server
None
None
Which of the following is a common reason to restart hadoop process?
1 Mark(s)
Your Answer:
Upgrade Hadoop
Upgrade Hadoop
React to incidents
React to incidents
Remove worker nodes
Remove worker nodes
All of the mentioned
All of the mentioned
Paheli bought some vegetables such as french beans, lady’s finger, green chillies, brinjals and potatoes all mixed in a bag. Which of the following methods of separation would be most appropriate for her to separate them? (NCERT Exemplar]
1 Mark(s)
Your Answer:
A) Winnowing
A) Winnowing
B) Sieving
B) Sieving
C) Threshing
C) Threshing
D) Handpicking
D) Handpicking
Which algorithm is most frequently applied in practice to identify Hamiltonian cycles?
1 Mark(s)
Your Answer:
Dijkstra's algorithm
Dijkstra's algorithm
Bellman-Ford algorithm
Bellman-Ford algorithm
Depth-First Search
Depth-First Search
Breadth-First Search
Breadth-First Search
Which Eclipse plugin is needed for Android development?
1 Mark(s)
Your Answer:
Android SDK
Android SDK
J2EE
J2EE
Both A & B
Both A & B
Android Development Tools
Android Development Tools
Operating system is responsible for:
1 Mark(s)
Your Answer:
disk initialization
disk initialization
booting from disk
booting from disk
bad-block recovery
bad-block recovery
all of these
all of these
If a switch receives a frame and the source MAC address is not in the MAC address table but the destination address is, what will the switch do with the frame?
1 Mark(s)
Your Answer:
Discard it and send an error message back to the originating host
Discard it and send an error message back to the originating host
Flood the network with the frame
Flood the network with the frame
Add the source address and port to the MAC address table and forward the frame out the destination port
Add the source address and port to the MAC address table and forward the frame out the destination port
Add the destination to the MAC address table and then forward the frame
Add the destination to the MAC address table and then forward the frame
What is the output of the following code: string = "Python" print(string.find("th"))
1 Mark(s)
Your Answer:
2
2
-1
-1
3
3
4
4
Which of the following statement(s) is true about interaction diagrams ?
1 Mark(s)
Your Answer:
Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen
Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen
Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects
Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects
Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects
Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects
All of the mentioned
All of the mentioned
How do you initialize all elements of an integer array named 'arr' to zero in C++?
1 Mark(s)
Your Answer:
arr[] = {0};
arr[] = {0};
arr = {0};
arr = {0};
arr.fill(0);
arr.fill(0);
for (int i = 0; i < size; ++i) { arr[i] = 0; }
for (int i = 0; i < size; ++i) { arr[i] = 0; }
In Ruby, what is the purpose of the #method method?
1 Mark(s)
Your Answer:
It invokes the specified method on the object
It invokes the specified method on the object
It checks if the object responds to the specified method
It checks if the object responds to the specified method
It defines a new method on the object
It defines a new method on the object
It returns a Method object representing the specified method
It returns a Method object representing the specified method
The logarithm to base 2 (that is b = 2) is called the:
1 Mark(s)
Your Answer:
binary logarithm
binary logarithm
natural logarithm
natural logarithm
common logarithm
common logarithm
inverse logarithm
inverse logarithm
Which of the following protocols is used to transfer files from one host to another over the internet?
1 Mark(s)
Your Answer:
TCP
TCP
IP
IP
UDP
UDP
FTP
FTP
All of these
All of these
In MS Word, "Ctrl + PageDown" is used to?
1 Mark(s)
Your Answer:
Moves the cursor one Line Down
Moves the cursor one Line Down
Moves the cursor one Paragraph Down
Moves the cursor one Paragraph Down
Moves the cursor one Page Down
Moves the cursor one Page Down
None of these
None of these
Which of the following is the correct full form of SaaS?
1 Mark(s)
Your Answer:
Storage-as-a-Service
Storage-as-a-Service
Server-as-a-Software
Server-as-a-Software
Software-as-a-Service
Software-as-a-Service
None of the above
None of the above
Aluminium has a young modulus of:
1 Mark(s)
Your Answer:
30x109 N/m2
30x109 N/m2
200x109 N/m2
200x109 N/m2
70x109 N/m2
70x109 N/m2
65x109 N/m2
65x109 N/m2
If you wanted administrators to see a message when logging into the router, which command would you use?
1 Mark(s)
Your Answer:
message banner motd
message banner motd
banner message motd
banner message motd
banner motd
banner motd
message motd
message motd
RUP is abbreviated as __________, invented by a division of __________.
1 Mark(s)
Your Answer:
Rational Unified Process, IBM
Rational Unified Process, IBM
Rational Unified Program, IBM
Rational Unified Program, IBM
Rational Unified Process, Infosys
Rational Unified Process, Infosys
Rational Unified Program, Infosys
Rational Unified Program, Infosys
Which loop is known for its pre-checking condition?
1 Mark(s)
Your Answer:
For Loop
For Loop
While Loop
While Loop
Do-While Loop
Do-While Loop
Infinite Loop
Infinite Loop
What is the output of the following code: square = lambda x: x**2 result = square(5) print(result)
1 Mark(s)
Your Answer:
25
25
5
5
10
10
15
15
In Java, what is the purpose of the Arrays.equals() method?
1 Mark(s)
Your Answer:
To check if two arrays are equal.
To check if two arrays are equal.
To concatenate two arrays.
To concatenate two arrays.
To find the common elements between two arrays.
To find the common elements between two arrays.
To remove duplicate elements from an array.
To remove duplicate elements from an array.
Hydrogen has thermal conductivity of:
1 Mark(s)
Your Answer:
0.024 k(W/m.K)
0.024 k(W/m.K)
0.18 k(W/m.K)
0.18 k(W/m.K)
0.15 k(W/m.K)
0.15 k(W/m.K)
0.043 k(W/m.K)
0.043 k(W/m.K)
What is the use of seek() method in files?
1 Mark(s)
Your Answer:
sets the file's current position at the offset
sets the file's current position at the offset
sets the file's previous position at the offset
sets the file's previous position at the offset
sets the file's current position within the file
sets the file's current position within the file
none of the mentioned
none of the mentioned
Which command is used to list all gems installed on the system in Ruby?
1 Mark(s)
Your Answer:
gems
gems
show gems
show gems
list gems
list gems
gem list
gem list
A differential equation is said to be separable if the variables can be:
1 Mark(s)
Your Answer:
combined
combined
separable
separable
integrate
integrate
differentiated
differentiated
What is the result of `12 | 10 & 9` ?
1 Mark(s)
Your Answer:
12
12
10
10
9
9
8
8
Wildlife week is celebrated from -
1 Mark(s)
Your Answer:
2nd October to 8th October
2nd October to 8th October
15th October to 21st October
15th October to 21st October
14th June to 20th June
14th June to 20th June
None of the above
None of the above
What is the result of 10 / 2 * 3 ?
1 Mark(s)
Your Answer:
15
15
30
30
5
5
6
6
--- is used to tell excel to include all cell between the two end point cell reference
1 Mark(s)
Your Answer:
Double colon
Double colon
Single colon
Single colon
Double sami colon
Double sami colon
None of these
None of these
What will be the output of the following Python code snippet? for i in '': print (i)
1 Mark(s)
Your Answer:
None
None
(nothing is printed)
(nothing is printed)
error
error
none of the mentioned
none of the mentioned
Which unit interprets instructions and directs operations?
1 Mark(s)
Your Answer:
ALU
ALU
RAM
RAM
Control Unit
Control Unit
None of these
None of these
The process of photosynthesis increases when the light gets:
1 Mark(s)
Your Answer:
dim
dim
brighter
brighter
off
off
none of them
none of them
Which control structure in R is used to execute a block of code repeatedly until a condition is met?
1 Mark(s)
Your Answer:
if-else loop
if-else loop
for loop
for loop
while loop
while loop
do-while loop
do-while loop
SQL permits a privilege to be granted by a role rather than by a:
1 Mark(s)
Your Answer:
Administrator
Administrator
Developer
Developer
Authorizer
Authorizer
User
User
In Apache NiFi, what is the purpose of the "RouteOnAttribute" processor?
1 Mark(s)
Your Answer:
Manage computation resources
Manage computation resources
Route FlowFiles based on their attributes
Route FlowFiles based on their attributes
Perform data analytics in Hadoop
Perform data analytics in Hadoop
None of the above
None of the above
Refractive index of diamond is equals to:
1 Mark(s)
Your Answer:
2.42
2.42
1.54
1.54
1.49
1.49
1.36
1.36
Which method enables you to calculate whether daylight saving time is in force at a specific date and time?
1 Mark(s)
Your Answer:
getOffset()
getOffset()
getTranitions()
getTranitions()
ISODate()
ISODate()
savingTime()
savingTime()
It is appropriate to use a supertype/subtype relationship when there are attributes that apply to some of the instances of an entity type.
1 Mark(s)
Your Answer:
True
True
False
False
The blinking symbol on the computer screen is called ___________?
1 Mark(s)
Your Answer:
mouse
mouse
logo
logo
hand
hand
cursor
cursor
Which algorithm in C++ STL is used to sort a range of elements using quicksort?
1 Mark(s)
Your Answer:
quick_sort
quick_sort
sort
sort
qsort
qsort
quicksort
quicksort
Which of the following methods adds and connects the point to the cubic bezier curve?
1 Mark(s)
Your Answer:
bezierConnect()
bezierConnect()
bezierCurveTo()
bezierCurveTo()
Connectbezier()
Connectbezier()
none of the mentioned
none of the mentioned
How do you select a chart in MS PowerPoint?
1 Mark(s)
Your Answer:
Double click
Double click
Single click
Single click
Right-click
Right-click
Ctrl + C
Ctrl + C
A point-to-point link in a remote backbone connected by remote bridges acts as:
1 Mark(s)
Your Answer:
Ad hoc network
Ad hoc network
LAN network
LAN network
WAN network
WAN network
MAN network
MAN network
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.