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.
C Programming Mock Test 16
Exam Duration:
00:29:00
C Programming Mock Test 16
: Question
1
of 32
Choose a statement that is NOT an exception in C#:
1 Mark(s)
Your Answer:
stack overflow
stack overflow
arithmetic overflow or underflow
arithmetic overflow or underflow
incorrect arithmetic expression
incorrect arithmetic expression
array index out of bound
array index out of bound
Which package in R is commonly used for creating and managing databases?
1 Mark(s)
Your Answer:
dbR
dbR
RDBMS
RDBMS
dbplyr
dbplyr
sqldf
sqldf
We can use the not exists construct to simulate the set containment, which is a:
1 Mark(s)
Your Answer:
Query operation
Query operation
Subquery operation
Subquery operation
Subset operation
Subset operation
Dataset operation
Dataset operation
In Windows XP, what does ‘XP’ stands for?
1 Mark(s)
Your Answer:
eXPensive
eXPensive
eXPlore
eXPlore
eXPerience
eXPerience
eXtra Power
eXtra Power
Two wave sources are perfectly coherent with each other, if and only if they have:
1 Mark(s)
Your Answer:
180° phase difference
180° phase difference
constant phase difference
constant phase difference
90° phase difference
90° phase difference
120° phase difference
120° phase difference
LIFO stands for:
1 Mark(s)
Your Answer:
Last In First Out
Last In First Out
Last Input First Output
Last Input First Output
Late In First Out
Late In First Out
Long In Fast Out
Long In Fast Out
In which of the following scenarios is a linked list preferable to an array?
1 Mark(s)
Your Answer:
When you need constant time access
When you need constant time access
When you need dynamic resizing
When you need dynamic resizing
When you need better cache locality
When you need better cache locality
When you need a fixed size
When you need a fixed size
Shortcut key for Change case is____________?
1 Mark(s)
Your Answer:
Shift+F3
Shift+F3
Ctrl+Shift+F3
Ctrl+Shift+F3
Ctrl+F5
Ctrl+F5
Ctrl+Alt
Ctrl+Alt
Which is the correct CSS syntax?
1 Mark(s)
Your Answer:
body:color=black;
body:color=black;
{body;color:black;}
{body;color:black;}
{body:color=black;}
{body:color=black;}
body {color: black;}
body {color: black;}
Light atoms can move with the help of:
1 Mark(s)
Your Answer:
strong energy
strong energy
atom's energy
atom's energy
surrounding's energy
surrounding's energy
force
force
The processor which performs arithmetical and logical operations is called
1 Mark(s)
Your Answer:
Control
Control
ALU
ALU
Register
Register
Cache Memory
Cache Memory
Attribute must be set on a validator control for the validation to work.
1 Mark(s)
Your Answer:
ValidateControl
ValidateControl
ControlToValidate
ControlToValidate
ControlToBind
ControlToBind
Validate
Validate
Which of the following describes an industry-wide standard suite of protocols and algorithms that allows for secure data transmission over an IP-based network that functions at the layer 3 Network layer of the OSI model?
1 Mark(s)
Your Answer:
HDLC
HDLC
Cable
Cable
VPN
VPN
IPSec
IPSec
xDSL
xDSL
Length of a day is:
1 Mark(s)
Your Answer:
9x1017
9x1017
9x107
9x107
9x104
9x104
9x1014
9x1014
What data structure is used for efficiently managing a collection of ordered elements where insertions and deletions are frequent?
1 Mark(s)
Your Answer:
Hash Table
Hash Table
Array
Array
Queue
Queue
Balanced Tree
Balanced Tree
What does KB stands for?
1 Mark(s)
Your Answer:
Kili Bind
Kili Bind
KiloByte
KiloByte
Kilo Basic
Kilo Basic
None of these Answer
None of these Answer
What is false about constructor?
1 Mark(s)
Your Answer:
Constructors cannot be synchronized in Java
Constructors cannot be synchronized in Java
Java does not provide default copy constructor
Java does not provide default copy constructor
Constructor can have a return type
Constructor can have a return type
"this" and "super" can be used in a constructor
"this" and "super" can be used in a constructor
In Flume, what is the role of a Flume Sink?
1 Mark(s)
Your Answer:
Execute MapReduce jobs
Execute MapReduce jobs
Store intermediate data
Store intermediate data
Collect and ingest data
Collect and ingest data
Output data to the destination
Output data to the destination
Which of the following is correct typedef for function pointer returning int and taking two int parameters?
1 Mark(s)
Your Answer:
typedef int (*funcPtr)(int,int);
typedef int (*funcPtr)(int,int);
typedef int *funcPtr(int,int);
typedef int *funcPtr(int,int);
typedef int funcPtr(*int,int);
typedef int funcPtr(*int,int);
typedef int &funcPtr(int,int);
typedef int &funcPtr(int,int);
What is session management in a Java web application?
1 Mark(s)
Your Answer:
The process of maintaining user-specific data across multiple requests
The process of maintaining user-specific data across multiple requests
The process of starting a web server
The process of starting a web server
A type of coffee bean
A type of coffee bean
A Java keyword
A Java keyword
What is the __init__ method used for in Python classes?
1 Mark(s)
Your Answer:
It initializes the attributes of an object
It initializes the attributes of an object
It defines a method
It defines a method
It is a constructor
It is a constructor
It is a destructor
It is a destructor
In Java, can a subclass inherit static methods from its superclass?
1 Mark(s)
Your Answer:
Only if the superclass is marked as "abstract"
Only if the superclass is marked as "abstract"
Only if the subclass is marked as "final"
Only if the subclass is marked as "final"
Yes, a subclass inherits static methods from its superclass
Yes, a subclass inherits static methods from its superclass
No, static methods are not inherited
No, static methods are not inherited
Which of the following property applies one or more drop shadows to the text?
1 Mark(s)
Your Answer:
text-shadow
text-shadow
text-effect
text-effect
text-format
text-format
text-decoration-shadow
text-decoration-shadow
What will be the output of the following Python code? class A: def one(self): return self.two() def two(self): return 'A' class B(A): def two(self): return 'B' obj1=A() obj2=B() print(obj1.two(),obj2.two())
1 Mark(s)
Your Answer:
A A
A A
A B
A B
B B
B B
An exception is thrown
An exception is thrown
What will the following expression evaluate to? (true && false) | | (!true)
1 Mark(s)
Your Answer:
True
True
False
False
Error
Error
None of the mentioned
None of the mentioned
Floyd-Warshall algorithm is used for?
1 Mark(s)
Your Answer:
Single Source Shortest Path
Single Source Shortest Path
All-Pairs Shortest Path
All-Pairs Shortest Path
MST
MST
Sorting
Sorting
Relationship between the net external torque and the angular acceleration is:
1 Mark(s)
Your Answer:
Newton's Second Law of Rotation
Newton's Second Law of Rotation
Newton's Second Law of Particles
Newton's Second Law of Particles
Newton's Second Law of Thermodynamics
Newton's Second Law of Thermodynamics
Newton's Second Law of Electromagnetics
Newton's Second Law of Electromagnetics
In what time can the Hamiltonian path problem can be solved using dynamic programming?
1 Mark(s)
Your Answer:
O(N)
O(N)
O(N log N)
O(N log N)
O(N2)
O(N2)
O(N2 2N)
O(N2 2N)
Which one of the following namespaces contains the definition for IdbConnection ?
1 Mark(s)
Your Answer:
System.Data.Interfaces
System.Data.Interfaces
System.Data.Connection
System.Data.Connection
System.Data.Common
System.Data.Common
System.Data
System.Data
Which of the following is a method to find the length of an array in C++?
1 Mark(s)
Your Answer:
size()
size()
length()
length()
sizeof(array)/sizeof(array[0])
sizeof(array)/sizeof(array[0])
array.size()
array.size()
What is the main drawback of Bubble Sort?
1 Mark(s)
Your Answer:
It is not a stable sort.
It is not a stable sort.
It requires additional memory.
It requires additional memory.
It is inefficient for large datasets.
It is inefficient for large datasets.
It cannot sort linked lists.
It cannot sort linked lists.
Which Java class provides methods for fixed-size arrays with automatic resizing?
1 Mark(s)
Your Answer:
HashSet
HashSet
Vector
Vector
ArrayList
ArrayList
LinkedList
LinkedList
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.