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.
Algorithms Mock Test 14
Exam Duration:
00:27:00
Algorithms Mock Test 14
: Question
1
of 30
Which layer does a Hub operate at?
1 Mark(s)
Your Answer:
Layer 1
Layer 1
Layer 2
Layer 2
Layer 3
Layer 3
Layer 4
Layer 4
Transmission purpose is basically a combination of __________.
1 Mark(s)
Your Answer:
Group of bits
Group of bits
Source & destination addresses
Source & destination addresses
Both A & B
Both A & B
None of the above
None of the above
Printer is an example of?
1 Mark(s)
Your Answer:
Hard copy
Hard copy
Soft copy
Soft copy
Photocopy
Photocopy
None of these
None of these
What will be the output of the following C++ code? #include <iostream> using namespace std; class Integer { int i; public: Integer(int ii) : i(ii) {} const Integer operator+(const Integer& rv) const { cout << "operator+" << endl; return Integer(i + rv.i); } Integer& operator+=(const Integer& rv) { cout << "operator+=" << endl; i += rv.i; return *this; } }; int main() { int i = 1, j = 2, k = 3; k += i + j; Integer ii(1), jj(2), kk(3); kk += ii + jj; }
1 Mark(s)
Your Answer:
operator+ operator+=
operator+ operator+=
operator+= operator+
operator+= operator+
operator+ operator+
operator+ operator+
operator+ operator=
operator+ operator=
The average area of skin on a human body is:
1 Mark(s)
Your Answer:
1.8 sq. meters
1.8 sq. meters
1.4 sq. meters
1.4 sq. meters
1.6 sq. meters
1.6 sq. meters
1.2 sq. meters
1.2 sq. meters
What is the space complexity of the Knuth-Morris-Pratt (KMP) algorithm?
1 Mark(s)
Your Answer:
O(n)
O(n)
O(m + n)
O(m + n)
O(m)
O(m)
O(m*n)
O(m*n)
Sliver is distributed in a can by:
1 Mark(s)
Your Answer:
distributor
distributor
coiler
coiler
rotator
rotator
separator
separator
Traveling Salesman Problem (TSP) is class:
1 Mark(s)
Your Answer:
P
P
NP-Hard
NP-Hard
NP-Easy
NP-Easy
Linear
Linear
What is the result of 5 & 6 ^ 6 ?
1 Mark(s)
Your Answer:
6
6
5
5
0
0
1
1
What is the default position value of all HTML elements?
1 Mark(s)
Your Answer:
static
static
relative
relative
fixed
fixed
absolute
absolute
What is the data type of the value 3.14 in Ruby?
1 Mark(s)
Your Answer:
Integer
Integer
Float
Float
String
String
Boolean
Boolean
What is the purpose of the bundle exec command in Ruby projects?
1 Mark(s)
Your Answer:
Executes a command globally
Executes a command globally
Executes a command without checking for dependencies
Executes a command without checking for dependencies
Executes a command in the context of the current project's Gemfile
Executes a command in the context of the current project's Gemfile
Executes a command without running any associated scripts
Executes a command without running any associated scripts
The navigator property belongs to which of the following object?
1 Mark(s)
Your Answer:
Document
Document
Window
Window
Navigator
Navigator
Location
Location
Who is the founder of audio and video conferencing tool Zoom?
1 Mark(s)
Your Answer:
Steve Woznaik
Steve Woznaik
Steve Ericson
Steve Ericson
Michele George
Michele George
Eric Yuan
Eric Yuan
Collection of related computer web pages is called:
1 Mark(s)
Your Answer:
uploading
uploading
website
website
downloading
downloading
linking
linking
In SaaS, the used open-source software are also known as_____
1 Mark(s)
Your Answer:
Closed
Closed
Free
Free
Open
Open
all of the mentioned
all of the mentioned
Which sorting algorithm is NOT stable?
1 Mark(s)
Your Answer:
Merge Sort
Merge Sort
Insertion Sort
Insertion Sort
QuickSort
QuickSort
Bubble Sort
Bubble Sort
Farmers tested the soil by tasting it. If the soil is sour in taste or has smell, the soil is:
1 Mark(s)
Your Answer:
alkaline
alkaline
acidic
acidic
bitter
bitter
salty
salty
What is the purpose of the @abstractmethod decorator in Python?
1 Mark(s)
Your Answer:
To create abstract classes
To create abstract classes
To prevent method overriding
To prevent method overriding
To indicate that a method must be overridden in subclasses
To indicate that a method must be overridden in subclasses
To define a method as static
To define a method as static
What data type is the object below? L = [1, 23, 'hello', 1]
1 Mark(s)
Your Answer:
list
list
dictionary
dictionary
array
array
tuple
tuple
All of the following are examples of storage devices EXCEPT____________?
1 Mark(s)
Your Answer:
hard disk drives
hard disk drives
printers
printers
floppy disk drives
floppy disk drives
CD drives
CD drives
The well-known port used for encapsulation by the server is:
1 Mark(s)
Your Answer:
port 7
port 7
port 23
port 23
port 53
port 53
port 67
port 67
Which Dynamic Programming problem requires constructing a solution by combining the solutions of overlapping subproblems?
1 Mark(s)
Your Answer:
Quick Sort
Quick Sort
Depth-First Search
Depth-First Search
Binary Search
Binary Search
Longest Common Subsequence
Longest Common Subsequence
Space between 2+5 or 2 + 5 is valid but =begin and = begin is not valid.
1 Mark(s)
Your Answer:
True
True
False
False
What is the primary benefit of using the Rabin-Karp algorithm?
1 Mark(s)
Your Answer:
Lower space complexity compared to others.
Lower space complexity compared to others.
Efficient for multiple pattern matching using hashing.
Efficient for multiple pattern matching using hashing.
Better for single pattern matching.
Better for single pattern matching.
Lower space complexity compared to others.
Lower space complexity compared to others.
What does ISO stands for?
1 Mark(s)
Your Answer:
International Standards Organisation
International Standards Organisation
Internal Standards Organisation
Internal Standards Organisation
Internal System Operation
Internal System Operation
None of the Above Answer
None of the Above Answer
Chromatography is generally used by:
1 Mark(s)
Your Answer:
chemists
chemists
farmers
farmers
magician
magician
Nurses
Nurses
Which type of approach is used by the C++ language?
1 Mark(s)
Your Answer:
Right to left
Right to left
Left to right
Left to right
Top to bottom
Top to bottom
Bottom-up
Bottom-up
Operating system is mainly comprised of:
1 Mark(s)
Your Answer:
user programs
user programs
system programs
system programs
third party programs
third party programs
both a and b
both a and b
The chain rule seems to have first been used by:
1 Mark(s)
Your Answer:
Lenz
Lenz
Newton
Newton
Kreyszig
Kreyszig
Leibniz
Leibniz
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.