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
:
27
:
00
Q:
1
/
30
🤖
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 8
Exam Duration:
00:27:00
C++ Programming Mock Test 8
: Question
1
of 30
What is necessary when we need to create a new field in craft?
1 Mark(s)
Your Answer:
Type of the input
Type of the input
Type of the output
Type of the output
Type of the field
Type of the field
All of the mentioned
All of the mentioned
What happens if a hash function returns an index that is already occupied in a hash table using open addressing?
1 Mark(s)
Your Answer:
The entry is added to a linked list.
The entry is added to a linked list.
A new hash function is applied.
A new hash function is applied.
The table is resized.
The table is resized.
The next available slot is searched.
The next available slot is searched.
During the traversing through the stack, where does it go after it goes to the namespace?
1 Mark(s)
Your Answer:
Window
Window
Function
Function
Document
Document
Location
Location
Which object is used by spring for authentication?
1 Mark(s)
Your Answer:
ContextHolder
ContextHolder
SecurityHolder
SecurityHolder
AnonymousHolder
AnonymousHolder
SecurityContextHolder
SecurityContextHolder
The following Python code will result in an error. import turtle t=turtle.Pen() t.speed(-45) t.circle(30)
1 Mark(s)
Your Answer:
True
True
False
False
MySQL maintains metadata in the database meta_sql.
1 Mark(s)
Your Answer:
True
True
False
False
Which of the following is one of the possible state for a workflow jobs?
1 Mark(s)
Your Answer:
PREP
PREP
START
START
RESUME
RESUME
END
END
Which string matching algorithm uses hashing to achieve its results?
1 Mark(s)
Your Answer:
Boyer-Moore
Boyer-Moore
Rabin-Karp
Rabin-Karp
Naive Search
Naive Search
Boyer-Moore
Boyer-Moore
In Excel, to calculate the product of numbers, the function used is _____?
1 Mark(s)
Your Answer:
=MULTIPLY()
=MULTIPLY()
=PRODUCTSUM()
=PRODUCTSUM()
=PRODUCE()
=PRODUCE()
=PRODUCT()
=PRODUCT()
Which of the following technique is also known as Fahrner Image Replacement?
1 Mark(s)
Your Answer:
CSS ON/Images ON
CSS ON/Images ON
CSS ON/Images OFF
CSS ON/Images OFF
CSS OFF/Images ON
CSS OFF/Images ON
CSS OFF/Images OFF
CSS OFF/Images OFF
Electric potential energy is measured in:
1 Mark(s)
Your Answer:
watt
watt
Joule
Joule
Newton
Newton
Coulomb
Coulomb
Which of the following is NOT a valid operation for a stack?
1 Mark(s)
Your Answer:
Peek
Peek
Push
Push
Pop
Pop
Enqueue
Enqueue
Both LIFO branch and bound strategy and backtracking leads to depth first search.
1 Mark(s)
Your Answer:
true
true
false
false
What is the purpose of the PictureBox control in a Windows Forms Application?
1 Mark(s)
Your Answer:
To play audio
To play audio
To display images
To display images
To show videos
To show videos
None of the above
None of the above
In Java, what does the "default" case in a "switch" statement do?
1 Mark(s)
Your Answer:
Indicates the end of the switch statement
Indicates the end of the switch statement
Repeats the switch statement
Repeats the switch statement
Provides a block of code to execute when none of the cases match
Provides a block of code to execute when none of the cases match
Throws an exception
Throws an exception
_______ is the short key to select the entire column in Excel.
1 Mark(s)
Your Answer:
Alt + space bar
Alt + space bar
Shift + space bar
Shift + space bar
Control + space bar
Control + space bar
None of the above
None of the above
If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
1 Mark(s)
Your Answer:
obj.__str__()
obj.__str__()
str(obj)
str(obj)
print obj
print obj
all of the mentioned
all of the mentioned
What will be the output of the following C++ code? #include <iostream> #include <vector> #include <forward_list> using namespace std; int main() { forward_list<int> fl1 = {1,7,8,9,10}; forward_list<int> fl2 = {2,3,4,5,6}; fl1.splice_after(fl1.begin(), fl2); for (int&c : fl1) cout << c << " "; cout<<endl; return 0; }
1 Mark(s)
Your Answer:
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 7 8 9 10
1 7 8 9 10
2 3 4 5 6
2 3 4 5 6
Sleep sort is an in-place sorting technique.
1 Mark(s)
Your Answer:
True
True
False
False
The corresponding box of Carrier Sense Multiple Access/Collision Detection (CSMA/CD) can be replaced by one of the:
1 Mark(s)
Your Answer:
nonpersistant process
nonpersistant process
i-persistent process
i-persistent process
persistent process
persistent process
p-persistent process
p-persistent process
In . . . . . . . . mode, the NameNode will interactively prompt you at the command line about possible courses of action you can take to recover your data.
1 Mark(s)
Your Answer:
full
full
partial
partial
recovery
recovery
commit
commit
When the operating system creates a process at the request of the explicit request of another process the action is referred to as:
1 Mark(s)
Your Answer:
Process Creation
Process Creation
Process Deletion
Process Deletion
Process Updating
Process Updating
Process Spawning
Process Spawning
What is the purpose of the 'break' statement in a switch-case construct in C++?
1 Mark(s)
Your Answer:
Skip the next case
Skip the next case
Start the next iteration
Start the next iteration
Terminate the program
Terminate the program
Exit the switch block
Exit the switch block
Output device used to produce high quality graphics in a variety of colors is called:
1 Mark(s)
Your Answer:
plotter
plotter
printer
printer
typewriter
typewriter
scanner
scanner
Which of the following options is the best for generating random integer 0 or 1?
1 Mark(s)
Your Answer:
(int)Math.random()
(int)Math.random()
(int)Math.random() + 1
(int)Math.random() + 1
(int)(Math.random() + 0.5)
(int)(Math.random() + 0.5)
(int)(Math.random() + 0.2)
(int)(Math.random() + 0.2)
SQL Server supports a language called Transact-SQL (also called T-SQL).
1 Mark(s)
Your Answer:
True
True
False
False
Laplace transform of function f(t)=cosh(at) is:
1 Mark(s)
Your Answer:
s/(s-a)
s/(s-a)
s/(s+a)
s/(s+a)
s/(s2-a2)
s/(s2-a2)
s/(s2+a2)
s/(s2+a2)
The element shared by a channel in a multipoint environment, is known as its:
1 Mark(s)
Your Answer:
Duration
Duration
Capacity
Capacity
Structure
Structure
Flexibility
Flexibility
Which of the following is a part of system release ?
1 Mark(s)
Your Answer:
electronic and paper documentation describing the system
electronic and paper documentation describing the system
packaging and associated publicity that have been designed for that release
packaging and associated publicity that have been designed for that release
an installation program that is used to help install the system on target hardware
an installation program that is used to help install the system on target hardware
all of the mentioned
all of the mentioned
The electric generator works on whose basic principle?
1 Mark(s)
Your Answer:
Electromagnetic field
Electromagnetic field
Fleming right-hand rule
Fleming right-hand rule
Electromagnetic induction
Electromagnetic induction
Coulomb law
Coulomb law
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.