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
:
30
:
00
Q:
1
/
33
🤖
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.
Ruby Mock Test 15
Exam Duration:
00:30:00
Ruby Mock Test 15
: Question
1
of 33
What will be the output of the following C++ code? #include <iostream> #include <exception> using namespace std; class myexc: public exception { virtual const char* what() const throw() { return "My exception"; } } myex; int main () { try { throw myex; } catch (exception& e) { cout << e.what() << endl; } return 0; }
1 Mark(s)
Your Answer:
My
My
My exception
My exception
No exception
No exception
exception
exception
Which function is used to delete a file in C?
1 Mark(s)
Your Answer:
deletefile()
deletefile()
remove()
remove()
erasefile()
erasefile()
delete()
delete()
If angular position of the reference line changes from θ1 to θ2, the body undergoes an:
1 Mark(s)
Your Answer:
angular velocity
angular velocity
angular displacement
angular displacement
linear displacement
linear displacement
linear velocity
linear velocity
Annotation of plots in any plotting system involves adding points, lines, or text to the plot, in addition to customizing axis labels or adding titles. Different plotting systems have different sets of functions for annotating plots in this way. Which of the following functions can be used to annotate the panels in a multi-panel lattice plot?
1 Mark(s)
Your Answer:
points()
points()
panel.abline()
panel.abline()
lines()
lines()
axis()
axis()
The send window in the Go-Back-N Protocol is an abstract concept defining an imaginary box with:
1 Mark(s)
Your Answer:
one variable
one variable
two variables
two variables
three variables
three variables
four variables
four variables
Magnitude of net force required to prevent the body from falling freely is termed as:
1 Mark(s)
Your Answer:
weight
weight
gravitational force
gravitational force
distance
distance
acceleration
acceleration
In_______________mode, the communication channel is used in both directions at the same time?
1 Mark(s)
Your Answer:
Full-duplex
Full-duplex
Simplex
Simplex
Half-duplex
Half-duplex
None of the above
None of the above
The substance dissolved in the solvent is known as:
1 Mark(s)
Your Answer:
solvent
solvent
insoluble
insoluble
soluble
soluble
solute
solute
An array of similar data types which themselves are a collection of dissimilar data type are . . . . . . . .
1 Mark(s)
Your Answer:
Linked Lists
Linked Lists
Trees
Trees
Array of Structure
Array of Structure
All of the mentioned
All of the mentioned
In Internet Protocol Version (IPv4), a machine drops the header and trailer, when it receives a:
1 Mark(s)
Your Answer:
signal
signal
frame
frame
service
service
request
request
What is the main advantage of using a linked list to implement a stack compared to an array?
1 Mark(s)
Your Answer:
No fixed size limit
No fixed size limit
Better cache locality
Better cache locality
Faster access time
Faster access time
Simpler implementation
Simpler implementation
What is the return type of Constructors?
1 Mark(s)
Your Answer:
int
int
float
float
void
void
none of the mentioned
none of the mentioned
If θ is angular displacement, Ω angular velocity and α is angular acceleration, then by appropriate kinematic equation, Ωt-1/2αt2=:
1 Mark(s)
Your Answer:
θ
θ
θ-θo
θ-θo
θ+θo
θ+θo
θo
θo
Capability of translating voice into text is known as:
1 Mark(s)
Your Answer:
speech recognition
speech recognition
voice recognition
voice recognition
both A and B
both A and B
image recognition
image recognition
You have linked SQL*Plus to an external text editor. To invoke the text editor for use within SQL*Plus, which command do you use?
1 Mark(s)
Your Answer:
Open [FileName]
Open [FileName]
Show [FileName]
Show [FileName]
Alter [FileName]
Alter [FileName]
Edit [FileName]
Edit [FileName]
What is the size of a character literal in C and C++?
1 Mark(s)
Your Answer:
4 and 1
4 and 1
1 and 4
1 and 4
1 and 1
1 and 1
4 and 4
4 and 4
Which one is an example of database designing software?
1 Mark(s)
Your Answer:
MS Word
MS Word
MS Excel
MS Excel
MS Access
MS Access
None of these
None of these
What will be the output of the following PHP code ? <?php $a = 97; switch(?$a) { case "a": print "hi"; break; case 97: print "hello"; break; default: print "hi1"; } ?>
1 Mark(s)
Your Answer:
hihellohi1
hihellohi1
hi
hi
hihello
hihello
hello
hello
Important contributions to classical physics especially classical mechanics were provided by:
1 Mark(s)
Your Answer:
Issac Newton
Issac Newton
Albert Einstein
Albert Einstein
Carl Friedrich Gauss
Carl Friedrich Gauss
Euclid
Euclid
Keyboard controller which places a code into part of its memory is called:
1 Mark(s)
Your Answer:
keyboard processor
keyboard processor
keyboard buffer
keyboard buffer
keyboard programmer
keyboard programmer
keyboard modifier
keyboard modifier
The characteristic dimensions of fibers are the basis of their:
1 Mark(s)
Your Answer:
use
use
bonding
bonding
properties
properties
strength
strength
On what basis of a variable, OS allocates memory and decides what can be stored in the reserved memory?
1 Mark(s)
Your Answer:
Data bases
Data bases
Data sets
Data sets
Data types
Data types
Lists
Lists
Which operator among the following is used to perform the operation of boxing, unboxing, reference and identity conversions?
1 Mark(s)
Your Answer:
is
is
as
as
typeof
typeof
all of the mentioned
all of the mentioned
Which algorithm is used for finding the Minimum Spanning Tree?
1 Mark(s)
Your Answer:
Dijkstra
Dijkstra
DFS
DFS
Kruskal's
Kruskal's
Floyd-Warshall
Floyd-Warshall
SQL can be used to:
1 Mark(s)
Your Answer:
create database structures only.
create database structures only.
query database data only.
query database data only.
modify database data only.
modify database data only.
All of the above can be done by SQL.
All of the above can be done by SQL.
A body is moving in a circular path under centripetal force. The work done by this force is
1 Mark(s)
Your Answer:
A) positive
A) positive
B) negative
B) negative
C) zero
C) zero
D) infinite.
D) infinite.
Which pointer holds the address of another pointer?
1 Mark(s)
Your Answer:
Pointer to Pointer
Pointer to Pointer
Null Pointer
Null Pointer
Void Pointer
Void Pointer
File Pointer
File Pointer
What will be the output of the following Python code? x=10 y=8 assert x>y, 'X too small'
1 Mark(s)
Your Answer:
Assertion Error
Assertion Error
10 8
10 8
No output
No output
108
108
What is the significance of the Hadoop Secondary NameNode in the architecture?
1 Mark(s)
Your Answer:
Failover for the NameNode
Failover for the NameNode
Store a backup of the entire HDFS metadata
Store a backup of the entire HDFS metadata
Manage computation resources
Manage computation resources
Manages ZooKeeper configurations
Manages ZooKeeper configurations
To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included.
1 Mark(s)
Your Answer:
ONLY
ONLY
UNIQUE
UNIQUE
DISTINCT
DISTINCT
SINGLE
SINGLE
Output will be: $array = array(0, 1, 2); $array = array_pad($array, -6, ‘NEW’);
1 Mark(s)
Your Answer:
Array ( [1] => NEW [2] => NEW [3] => NEW [4] => 0 [5] => 1 [6] => 2 )
Array ( [1] => NEW [2] => NEW [3] => NEW [4] => 0 [5] => 1 [6] => 2 )
Array ( [-1] => NEW [-2] => NEW [-3] => NEW [-4] => 0 [-5] => 1 [-6] => 2 )
Array ( [-1] => NEW [-2] => NEW [-3] => NEW [-4] => 0 [-5] => 1 [-6] => 2 )
Array ( [0] => NEW [-1] => NEW [-2] => NEW [-3] => 0 [-4] => 1 [-5] => 2 )
Array ( [0] => NEW [-1] => NEW [-2] => NEW [-3] => 0 [-4] => 1 [-5] => 2 )
Array ( [0] => NEW [1] => NEW [2] => NEW [3] => 0 [4] => 1 [5] => 2 )
Array ( [0] => NEW [1] => NEW [2] => NEW [3] => 0 [4] => 1 [5] => 2 )
Which traversal algorithm can be used to check if a graph is bipartite?
1 Mark(s)
Your Answer:
Neither BFS nor DFS
Neither BFS nor DFS
DFS
DFS
BFS
BFS
Both BFS and DFS
Both BFS and DFS
The kingdom in which photosynthesis can take place is:
1 Mark(s)
Your Answer:
plant
plant
animal
animal
plant and animal
plant and animal
fungi
fungi
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.