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
:
11
:
00
Q:
1
/
79
🤖
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.
C++ Programming Mock Test 13
Exam Duration:
01:11:00
C++ Programming Mock Test 13
: Question
1
of 79
Which of the following is correctly evaluated for this function? pow(x,y,z) ``` pow(x,y,z) ```
1 Mark(s)
Your Answer:
(x**y) / z
(x**y) / z
(x / y) * z
(x / y) * z
(x**y) % z
(x**y) % z
(x / y) / z
(x / y) / z
A second generation of high performance fibers introduced for functional applications have:
1 Mark(s)
Your Answer:
high strength and low extensibility
high strength and low extensibility
low strength and low extensibility
low strength and low extensibility
high strength and high extensibility
high strength and high extensibility
low strength and high extensibility
low strength and high extensibility
The domain names are always read from the:
1 Mark(s)
Your Answer:
node up to the root
node up to the root
node down to the leaf
node down to the leaf
root to child
root to child
leaf
leaf
What is the correct way to declare a floating-point variable in C#?
1 Mark(s)
Your Answer:
var num;
var num;
Num float;
Num float;
double num;
double num;
float num;
float num;
Which type of binary search tree is imitated for construction of tango tree?
1 Mark(s)
Your Answer:
Complete Binary Search Tree
Complete Binary Search Tree
Perfect Binary Search Tree
Perfect Binary Search Tree
Balanced Binary Search Tree
Balanced Binary Search Tree
Degenerate Binary Search Tree
Degenerate Binary Search Tree
What is the correct way to declare and initialize a multidimensional array with 3 rows and 4 columns in C#?
1 Mark(s)
Your Answer:
int[3, 4] matrix = new int;
int[3, 4] matrix = new int;
int matrix[3, 4];
int matrix[3, 4];
int[,] matrix = new int[3, 4];
int[,] matrix = new int[3, 4];
int[3][4] matrix;
int[3][4] matrix;
State true or false. Maqetta is an open source initiative of the Dojo Foundation to geared towards visual designers through a WYSIWYG user interface.
1 Mark(s)
Your Answer:
True
True
False
False
In Microsoft Word, ____________ can be used to decide on the spacing between lines of a paragraph.
1 Mark(s)
Your Answer:
Alignment
Alignment
Effects
Effects
Indentation
Indentation
Line spacing
Line spacing
Organized set of related components is referred as:
1 Mark(s)
Your Answer:
system development life cycle
system development life cycle
network
network
processing
processing
system
system
In voice over IP, Term SIP stands for:
1 Mark(s)
Your Answer:
Session Initiation protocol
Session Initiation protocol
Session Initiation Port
Session Initiation Port
Session Initiation Path
Session Initiation Path
Session Initiation Packet
Session Initiation Packet
Understanding and making use of the information received from light passing through the slide is called as:
1 Mark(s)
Your Answer:
diffusion
diffusion
diffraction
diffraction
deformation
deformation
value formation
value formation
What is the default fount size in a new word document based on normal template in word 2003?
1 Mark(s)
Your Answer:
12 pt
12 pt
11 pt
11 pt
Both
Both
None
None
In which derivation the leftmost non-terminal symbol is replaced at each step?
1 Mark(s)
Your Answer:
Left recursion
Left recursion
Left non-terminal
Left non-terminal
Left pushdown
Left pushdown
Leftmost
Leftmost
What is the role of the Spinbox widget in Tkinter?
1 Mark(s)
Your Answer:
Displaying images
Displaying images
Displaying a list of options
Displaying a list of options
Selecting a value from a range
Selecting a value from a range
Drawing graphics
Drawing graphics
Substance that is able to get dissolved in the solvent is said to be:
1 Mark(s)
Your Answer:
solute
solute
solvent
solvent
insoluble
insoluble
soluble
soluble
When the session data is written to a file, it can be read back, decoded and applied to the current session using the . . . . function.
1 Mark(s)
Your Answer:
session_reset()
session_reset()
session_get_cookie_params()
session_get_cookie_params()
session_encode()
session_encode()
session_decode()
session_decode()
Observer the given C++ program carefully and choose the correct output from the given options: Program #include
#include
using namespace std; int main() { cout<
::value; // case A cout<
::value; // case B cout<
::value; // case c return 0; } ``` #include
#include
using namespace std; int main() { cout<
::value; // case A cout<
::value; // case B cout<
::value; // case c return 0; } ```
1 Mark(s)
Your Answer:
110
110
001
001
010
010
None of the above
None of the above
Mean distance from Sun to Pluto is:
1 Mark(s)
Your Answer:
5900x106 Km
5900x106 Km
228x106 Km
228x106 Km
778x106 Km
778x106 Km
1430x106 Km
1430x106 Km
In MS Word, Portrait and Landscape are _______?
1 Mark(s)
Your Answer:
Page layout
Page layout
Page size
Page size
Page Orientation
Page Orientation
All of these
All of these
The ______ function in Excel returns the highest value in a set of data that you specify.
1 Mark(s)
Your Answer:
LRG
LRG
AVG
AVG
MAX
MAX
None of these
None of these
Isothermic process is also known as:
1 Mark(s)
Your Answer:
isovolumetric process
isovolumetric process
adiabatic process
adiabatic process
closed cycle
closed cycle
free expansion
free expansion
What is the result of 2 ** 3 % 3 ?
1 Mark(s)
Your Answer:
2
2
0
0
1
1
3
3
Command which is used to clear the screen is:
1 Mark(s)
Your Answer:
cls
cls
clear
clear
clscreen
clscreen
clearscreen
clearscreen
Because of virtual memory, memory can be shared among:
1 Mark(s)
Your Answer:
Threads
Threads
Processes
Processes
Instructions
Instructions
None of the mentioned
None of the mentioned
Which of the following are input devices?
1 Mark(s)
Your Answer:
Keyboard
Keyboard
Mouse
Mouse
Card reader
Card reader
All of these
All of these
When is memory allocated for a 'static' variable in C?
1 Mark(s)
Your Answer:
During compile time
During compile time
During runtime
During runtime
During function call
During function call
During program termination
During program termination
Study the following program: i = 1: while True: if i%3 == 0: break print(i) Which of the following is the correct output of this program? ``` i = 1: while True: if i%3 == 0: break print(i) ```
1 Mark(s)
Your Answer:
1 2 3
1 2 3
3 2 1
3 2 1
1 2
1 2
Invalid syntax
Invalid syntax
What is a data structure?
1 Mark(s)
Your Answer:
A collection of data values
A collection of data values
A programming language
A programming language
A set of algorithms
A set of algorithms
A way of organizing and storing data
A way of organizing and storing data
What is the key difference between a binary heap and a binary search tree?
1 Mark(s)
Your Answer:
A binary heap maintains a heap property and is typically used to implement priority queues, while a binary search tree maintains sorted order of elements.
A binary heap maintains a heap property and is typically used to implement priority queues, while a binary search tree maintains sorted order of elements.
A binary heap is a type of balanced tree, while a binary search tree is an unbalanced tree.
A binary heap is a type of balanced tree, while a binary search tree is an unbalanced tree.
A binary heap stores elements in sorted order, while a binary search tree does not.
A binary heap stores elements in sorted order, while a binary search tree does not.
A binary heap supports fast insertion and deletion, while a binary search tree supports fast search.
A binary heap supports fast insertion and deletion, while a binary search tree supports fast search.
What are the two predefined FILE pointers in C?
1 Mark(s)
Your Answer:
console and error
console and error
stdout and stdio
stdout and stdio
stdout and stderr
stdout and stderr
stdio and stderr
stdio and stderr
console and stdio.
console and stdio.
Which of the following is not a table scope operator?
1 Mark(s)
Your Answer:
MEMSTORE_FLUSH
MEMSTORE_FLUSH
MEMSTORE_FLUSHSIZE
MEMSTORE_FLUSHSIZE
MAX_FILESIZE
MAX_FILESIZE
All of the mentioned
All of the mentioned
How can you add an element at the end of a list or tuple in Python?
1 Mark(s)
Your Answer:
append()
append()
add()
add()
insert()
insert()
extend()
extend()
Which of the following statements invoke the exception class?
1 Mark(s)
Your Answer:
throws new Exception();
throws new Exception();
throw new Exception();
throw new Exception();
new Exception();
new Exception();
new throws Exception();
new throws Exception();
In the Cellular Network, on which of the following, the cell's shape depends?
1 Mark(s)
Your Answer:
Political conditions
Political conditions
Social Conditions
Social Conditions
Environment Condition
Environment Condition
None of the above
None of the above
Variables shared among all instances of a class are:
1 Mark(s)
Your Answer:
Instance
Instance
Local
Local
Static
Static
Private
Private
What is the purpose of the reverse() method for lists and tuples?
1 Mark(s)
Your Answer:
Reverses the order of elements in the list or tuple
Reverses the order of elements in the list or tuple
Removes the last element
Removes the last element
Deletes the list or tuple
Deletes the list or tuple
Adds an element to the list or tuple
Adds an element to the list or tuple
How do you create a vector of logical values in R?
1 Mark(s)
Your Answer:
c(TRUE, FALSE, TRUE)
c(TRUE, FALSE, TRUE)
vector(TRUE, FALSE, TRUE)
vector(TRUE, FALSE, TRUE)
logical_vector(TRUE, FALSE, TRUE)
logical_vector(TRUE, FALSE, TRUE)
create_logical_vector(TRUE, FALSE)
create_logical_vector(TRUE, FALSE)
What is an exception in Java?
1 Mark(s)
Your Answer:
An error that occurs during runtime
An error that occurs during runtime
An error that occurs during compilation
An error that occurs during compilation
A warning issued by the compiler
A warning issued by the compiler
A type of loop
A type of loop
What is a dangling pointer?
1 Mark(s)
Your Answer:
Points to freed memory
Points to freed memory
Points to null
Points to null
Points to void
Points to void
Points to global
Points to global
What is the output of the given code? print "Hey" puts "Everyone!" print "We are learning Ruby"
1 Mark(s)
Your Answer:
Error
Error
Hey everyone we are learning Ruby
Hey everyone we are learning Ruby
Hey everyone
Hey everyone
Hey Everyone We are learning Ruby
Hey Everyone We are learning Ruby
Encryption and decryption provide secrecy, or confidentiality, but not:
1 Mark(s)
Your Answer:
authentication
authentication
integrity
integrity
privacy
privacy
modularity
modularity
Block coding is normally referred to as mBlnB coding; it replaces each m-bit group with an:
1 Mark(s)
Your Answer:
n-bit group
n-bit group
n-1 bit group
n-1 bit group
n+1 bit group
n+1 bit group
none
none
SQL provides the nvarchar type to store multilingual data using the:
1 Mark(s)
Your Answer:
Binary code representation
Binary code representation
ANSI representation
ANSI representation
Char-code representation
Char-code representation
Unicode representation
Unicode representation
Linux runs on a very large range of:
1 Mark(s)
Your Answer:
Network Architecture
Network Architecture
Hardware Architecture
Hardware Architecture
Software Architecture
Software Architecture
Processor Architecture
Processor Architecture
Variables passed throgh methods are:
1 Mark(s)
Your Answer:
parameters
parameters
specially variables
specially variables
local variables
local variables
unUsed variables
unUsed variables
A relation is in this form if it is in BCNF and has no multivalued dependencies:
1 Mark(s)
Your Answer:
second normal form.
second normal form.
third normal form.
third normal form.
fourth normal form.
fourth normal form.
domain/key normal form.
domain/key normal form.
Who Invented the First Computer Mouse?
1 Mark(s)
Your Answer:
Douglas Engelbart
Douglas Engelbart
Ada Lovelace
Ada Lovelace
Charles Babbage
Charles Babbage
None of these
None of these
Which is not a JavaScript global function?
1 Mark(s)
Your Answer:
compile()
compile()
eval()
eval()
decodeURI()
decodeURI()
isNaN()
isNaN()
Is the following Python code valid? >>> a=(1,2,3) >>> b=('A','B','C') >>> c=tuple(zip(a,b))
1 Mark(s)
Your Answer:
Yes, c will be ((1, 'A'), (2, 'B'), (3, 'C'))
Yes, c will be ((1, 'A'), (2, 'B'), (3, 'C'))
Yes, c will be ((1,2,3),('A','B','C'))
Yes, c will be ((1,2,3),('A','B','C'))
No because tuples are immutable
No because tuples are immutable
No because the syntax for zip function isn't valid
No because the syntax for zip function isn't valid
What is a time complexity for inserting an alphabet in the tree using hash maps?
1 Mark(s)
Your Answer:
O (log n!)
O (log n!)
O (n!)
O (n!)
O (n2)
O (n2)
O (1)
O (1)
The physical properties of a solid depends upon discrete and:
1 Mark(s)
Your Answer:
arrangement of small particles
arrangement of small particles
freedom of motion of small particles
freedom of motion of small particles
freedom of motion of big particles
freedom of motion of big particles
both a and b
both a and b
In HBase, what is the significance of the HBase Data Block Encoding?
1 Mark(s)
Your Answer:
A storage format in Hadoop
A storage format in Hadoop
A query language for HBase
A query language for HBase
Optimize storage and retrieval of data in HBase
Optimize storage and retrieval of data in HBase
A distributed file system
A distributed file system
Bit is the most famous basic unit in computing which stands for?
1 Mark(s)
Your Answer:
Binary digit
Binary digit
Base digit
Base digit
Basic digit
Basic digit
Byte digit
Byte digit
What is the value of density in wood pulp?
1 Mark(s)
Your Answer:
65
65
50
50
36
36
64
64
Which technique is used to solve overlapping subproblems in Dynamic Programming?
1 Mark(s)
Your Answer:
Greedy Approach
Greedy Approach
Sorting
Sorting
Memoization
Memoization
Binary Search
Binary Search
What is the purpose of the Thread class in C#?
1 Mark(s)
Your Answer:
To allocate memory for storing thread-related data
To allocate memory for storing thread-related data
To provide synchronization mechanisms for multithreaded programs
To provide synchronization mechanisms for multithreaded programs
To represent a single thread of execution
To represent a single thread of execution
To manage a collection of threads
To manage a collection of threads
In C++, which access specifier allows members of a base class to be accessible in the derived class but not to the outside world?
1 Mark(s)
Your Answer:
friend
friend
private
private
public
public
protected
protected
In gigabit Ethernet three or more stations are connected by:
1 Mark(s)
Your Answer:
ring topology
ring topology
bus topology
bus topology
star topology
star topology
mesh topology
mesh topology
Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?
1 Mark(s)
Your Answer:
Delete
Delete
Drop
Drop
Remove
Remove
All of the above
All of the above
Which control flow statement in C# is used to handle multiple conditions using a single switch expression?
1 Mark(s)
Your Answer:
if-else if-else
if-else if-else
while
while
switch-case
switch-case
for
for
Which of the following is the way in which an IoT device is associated with data?
1 Mark(s)
Your Answer:
Internet
Internet
Cloud
Cloud
Automata
Automata
Network
Network
If we throw a ball upwards it will come to ground by a force called:
1 Mark(s)
Your Answer:
magnetic
magnetic
friction
friction
gravity
gravity
electricity
electricity
File Transfer Protocol (FTP) copies a file from:
1 Mark(s)
Your Answer:
node to node
node to node
one host to another
one host to another
from servers
from servers
one network to other
one network to other
Reverse Path Broadcasting (RPB) guarantees that the packet reaches every:
1 Mark(s)
Your Answer:
system id
system id
network
network
source
source
header
header
The R-help and . . . . . . . . mailing lists have been highly active for over a decade now.
1 Mark(s)
Your Answer:
R-mail
R-mail
R-devel
R-devel
R-dev
R-dev
R-del
R-del
E-Commerce is a ______?
1 Mark(s)
Your Answer:
Social Networking
Social Networking
Online Trade
Online Trade
Commodity Exchange
Commodity Exchange
Stocks and Shares
Stocks and Shares
A large number of interlinked chains in an ecosystem together forms a:
1 Mark(s)
Your Answer:
Nitrogen cycle
Nitrogen cycle
Carbon cycle
Carbon cycle
Food web
Food web
Food chain
Food chain
Electric motor speed will be increase with the increase in:
1 Mark(s)
Your Answer:
heat
heat
energy
energy
potential
potential
electric current
electric current
Scheduling is done by:
1 Mark(s)
Your Answer:
weighted fair queuing
weighted fair queuing
FIFO
FIFO
random
random
LIFO
LIFO
Consider the following statements var count = 0; while (count 10) { console.log(count); count++; }
1 Mark(s)
Your Answer:
The values of count is logged or stored in a particular location or storage
The values of count is logged or stored in a particular location or storage
The value of count from 0 to 9 is displayed in the console
The value of count from 0 to 9 is displayed in the console
An error is displayed
An error is displayed
An exception is thrown
An exception is thrown
What is the significance of the Hadoop OutputFormat?
1 Mark(s)
Your Answer:
Manage storage layer
Manage storage layer
Manage computation resources
Manage computation resources
Execute MapReduce jobs
Execute MapReduce jobs
Manage Hadoop ecosystem tools
Manage Hadoop ecosystem tools
First order logic Statements contains______.
1 Mark(s)
Your Answer:
Predicate and Preposition
Predicate and Preposition
Subject and an Object
Subject and an Object
Predicate and Subject
Predicate and Subject
None of the above
None of the above
Which one of the following is not a possible state for a pointer.
1 Mark(s)
Your Answer:
hold the address of the specific object
hold the address of the specific object
point one past the end of an object
point one past the end of an object
zero
zero
point to a type
point to a type
Sensitivity of material at ordinary temperatures affects:
1 Mark(s)
Your Answer:
behavior
behavior
processing
processing
usage
usage
all of above
all of above
When a table has been added to a Word document and is active, what two tabs are added to the Ribbon?
1 Mark(s)
Your Answer:
Design and Layout
Design and Layout
Design and Formulas
Design and Formulas
Charting and Layout
Charting and Layout
None of these
None of these
. . . . . . . . storage is a solution to decouple growing storage capacity from compute capacity.
1 Mark(s)
Your Answer:
DataNode
DataNode
Archival
Archival
Policy
Policy
None of the mentioned
None of the mentioned
Which algorithm is considered to be the fastest for string matching in practice, especially for large texts?
1 Mark(s)
Your Answer:
Rabin-Karp
Rabin-Karp
Knuth-Morris-Pratt (KMP)
Knuth-Morris-Pratt (KMP)
Naive Search
Naive Search
Boyer-Moore
Boyer-Moore
In ASP.NET Core MVC, what is the purpose of the appsettings.json file?
1 Mark(s)
Your Answer:
It handles HTTP requests and responses
It handles HTTP requests and responses
It defines routing rules
It defines routing rules
It stores application configuration settings
It stores application configuration settings
It manages session data
It manages session data
Communication between a computer and keyboard involves?
1 Mark(s)
Your Answer:
Full-duplex
Full-duplex
Simplex
Simplex
Half-duplex
Half-duplex
None of these
None of these
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.