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
:
59
:
00
Q:
1
/
66
🤖
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 7
Exam Duration:
00:59:00
Algorithms Mock Test 7
: Question
1
of 66
The physical database design identifies data integrity and security requirements.
1 Mark(s)
Your Answer:
True
True
False
False
To establish a range of values, can be used.
1 Mark(s)
Your Answer:
True
True
False
False
Pick the correct statement.
1 Mark(s)
Your Answer:
Macros and inline functions are same thing
Macros and inline functions are same thing
Macros looks like function calls but they are actually not
Macros looks like function calls but they are actually not
Inline functions looks like function but they are not
Inline functions looks like function but they are not
Inline function are always large
Inline function are always large
Which of the following WHERE clauses are faster? 1. WHERE col * 3 < 9 2. WHERE col < 9 / 3
1 Mark(s)
Your Answer:
1
1
2
2
same speed
same speed
dependent on operating system
dependent on operating system
Which of the following is a primitive data type in Avro?
1 Mark(s)
Your Answer:
null
null
boolean
boolean
float
float
all of the mentioned
all of the mentioned
The given array is arr={7, 4, 5, 8, 1, 2}. The number of iterations required to sort the array using comb sort and bubble sort respectively will be . . . . . . . .
1 Mark(s)
Your Answer:
7 and 8
7 and 8
5 and 6
5 and 6
5 and 5
5 and 5
4 and 5
4 and 5
What are the number of columns in MS Excel 2007?
1 Mark(s)
Your Answer:
16,284
16,284
16,384
16,384
16,584
16,584
None of these
None of these
Check the following C# code whether the given relation operator works according to the if condition or not. static void Main(string[] args) { int a = 10; int b = 5; int c = 12; int e = 8; int d; d = Convert.ToInt32((a * (c - b) / e + (b + c)) <= (e * (c + a) / (b + c) + a)); Console.WriteLine(d); if (d == 1) { Console.WriteLine("C# is great language!"); Console.WriteLine((a * (c - b) / e + (b + c))); } else { Console.WriteLine("harsh is not great language!"); Console.WriteLine((e * (c + a) / (b + c) + a)); } }
1 Mark(s)
Your Answer:
0 C# is great! 20
0 C# is great! 20
0 C# is not great! 25
0 C# is not great! 25
0 C# is great! 25
0 C# is great! 25
0 C# is not great! 20
0 C# is not great! 20
To insert a hyperlink which shortkey is used?
1 Mark(s)
Your Answer:
Ctrl+S
Ctrl+S
Ctrl+M
Ctrl+M
Ctrl+K
Ctrl+K
None of the above
None of the above
Most applications of robotic are used in area of:
1 Mark(s)
Your Answer:
cooking
cooking
manufacturing
manufacturing
teaching
teaching
farming
farming
In women, the epithelial tissues with cilia are also present in:
1 Mark(s)
Your Answer:
intestine
intestine
fallopian tube
fallopian tube
adrenal system
adrenal system
stomach
stomach
What is the primary operation of a stack?
1 Mark(s)
Your Answer:
Enqueue
Enqueue
Dequeue
Dequeue
Push
Push
Traverse
Traverse
Newton's law which states that net force on a body is equal to the product of the body's mass and its acceleration is:
1 Mark(s)
Your Answer:
1st Law
1st Law
2nd Law
2nd Law
3rd Law
3rd Law
4th Law
4th Law
What will be the output of the following Python code? fo = open("foo.txt", "rw+") print "Name of the file: ", fo.name # Assuming file has following 5 lines # This is 1st line # This is 2nd line # This is 3rd line # This is 4th line # This is 5th line for index in range(5): line = fo.next() print "Line No %d - %s" % (index, line) # Close opened file fo.close()
1 Mark(s)
Your Answer:
Compilation Error
Compilation Error
Syntax Error
Syntax Error
Displays Output
Displays Output
None of the mentioned
None of the mentioned
Schedule event in MS Outlook by _______?
1 Mark(s)
Your Answer:
Calendar
Calendar
Inbox
Inbox
Contacts
Contacts
None of these
None of these
Which of the following computation is correct to calculate the time taken for page load once the page is received from the server?
1 Mark(s)
Your Answer:
responseEnd-loadEventEnd
responseEnd-loadEventEnd
loadEventEnd-responseEnd
loadEventEnd-responseEnd
loadEventEnd/responseEnd
loadEventEnd/responseEnd
responseEnd/loadEventEnd
responseEnd/loadEventEnd
Set of processes is deadlock if:
1 Mark(s)
Your Answer:
each process is blocked and will remain so forever
each process is blocked and will remain so forever
each process is terminated
each process is terminated
all processes are trying to kill each other
all processes are trying to kill each other
all processes are stand by
all processes are stand by
Secondary memory of the computer system is also called:
1 Mark(s)
Your Answer:
non volatile
non volatile
volatile
volatile
reserved
reserved
small
small
In the Java Collections Framework, which interface extends the `List` interface to provide more efficient insertions and deletions in the middle of the list?
1 Mark(s)
Your Answer:
`Map`
`Map`
`Set`
`Set`
`Deque`
`Deque`
`Queue`
`Queue`
If the size of the response message is more than 512 bytes, a Connection is known as:
1 Mark(s)
Your Answer:
DNS connection
DNS connection
ICMP connection
ICMP connection
STMP connection
STMP connection
TCP connection
TCP connection
Which method among the following returns the integer if no character is available?
1 Mark(s)
Your Answer:
int peek()
int peek()
int read()
int read()
string ReadLine()
string ReadLine()
none of the mentioned
none of the mentioned
Which library allows mathematical functions like pow() and sqrt()?
1 Mark(s)
Your Answer:
What is the shortcut key of Mark Citation in MS Word?
1 Mark(s)
Your Answer:
Alt + Shift + I
Alt + Shift + I
Alt + Shift + P
Alt + Shift + P
Alt + Shift + B
Alt + Shift + B
Alt + Shift + Q
Alt + Shift + Q
"Ctrl + Home" is used to
1 Mark(s)
Your Answer:
Moves the cursor to the beginning of Document
Moves the cursor to the beginning of Document
Moves the cursor to the beginning of Line
Moves the cursor to the beginning of Line
Moves the cursor to the beginning of Paragraph
Moves the cursor to the beginning of Paragraph
All of the above
All of the above
What is the purpose of the 'std::unexpected' function in C++ exception handling?
1 Mark(s)
Your Answer:
It is called when an unexpected exception occurs
It is called when an unexpected exception occurs
It handles unexpected exceptions
It handles unexpected exceptions
It throws an unexpected exception
It throws an unexpected exception
It catches an unexpected exception
It catches an unexpected exception
Which class/ or set of classes can describe the concept of polymorphism in the following code? abstract class student_details { public : int marksofstudent; calculate_grade(); } class topper:public student_details { public : calculate_grade() { return 15; } }; class average:public student_details { public : calculate_grade() { return 30; } }; class failed{ int marksofstudent; }; ``` abstract class student_details { public : int marksofstudent; calculate_grade(); } class topper:public student_details { public : calculate_grade() { return 15; } }; class average:public student_details { public : calculate_grade() { return 30; } }; class failed{ int marksofstudent; }; ```
1 Mark(s)
Your Answer:
Only the student_details class can show the concept of polymorphism
Only the student_details class can show the concept of polymorphism
The class which is 'failed' should also inherit class student for this code to work for polymorphism
The class which is 'failed' should also inherit class student for this code to work for polymorphism
The student_details, topper and average classes together can show the concept of polymorphism
The student_details, topper and average classes together can show the concept of polymorphism
Only the student_details and topper class together can show the concept of polymorphism
Only the student_details and topper class together can show the concept of polymorphism
Which function key is used for refreshing Windows?
1 Mark(s)
Your Answer:
F1
F1
F2
F2
F5
F5
None of these
None of these
You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first available host address. Which of the following should you assign to the server?
1 Mark(s)
Your Answer:
192.168.19.0 255.255.255.0
192.168.19.0 255.255.255.0
192.168.19.33 255.255.255.240
192.168.19.33 255.255.255.240
192.168.19.26 255.255.255.248
192.168.19.26 255.255.255.248
192.168.19.31 255.255.255.248
192.168.19.31 255.255.255.248
Which data structure is primarily used to implement Breadth-First Search (BFS) algorithm on a graph?
1 Mark(s)
Your Answer:
Stack
Stack
Queue
Queue
Heap
Heap
Priority Queue
Priority Queue
What will be the output of the following Python code snippet? z=set('abc$de') 'a' in z
1 Mark(s)
Your Answer:
Error
Error
True
True
False
False
No output
No output
What is a 'Surrogate Key'?
1 Mark(s)
Your Answer:
Natural key
Natural key
Artificial key
Artificial key
Foreign key
Foreign key
Composite key
Composite key
To display list of all files of the disk you would type:
1 Mark(s)
Your Answer:
DIR
DIR
COPY
COPY
DIR FILES
DIR FILES
DIR AUTOEXEC.BAT
DIR AUTOEXEC.BAT
What is the formula of gravitational force?
1 Mark(s)
Your Answer:
F = G * Mm / r2
F = G * Mm / r2
F = G * Mm / r4
F = G * Mm / r4
F = G * Mm / r3
F = G * Mm / r3
F = G * Mm / r
F = G * Mm / r
Which file separator should be used by MANIFEST file?
1 Mark(s)
Your Answer:
/
/
\
\
-
-
//
//
You are asked to perform a queue operation using a stack. Assume the size of the stack is some value 'n' and there are 'm' number of variables in this stack. The time complexity of performing deQueue operation is (Using only stack operations like push and pop)(Tightly bound).
1 Mark(s)
Your Answer:
O(m)
O(m)
O(n)
O(n)
O(m*n)
O(m*n)
Data is insufficient
Data is insufficient
What is the purpose of the 'dynamic' keyword in C#?
1 Mark(s)
Your Answer:
To make a variable constant
To make a variable constant
To specify a data type that can change during runtime
To specify a data type that can change during runtime
To make a variable accessible outside its class
To make a variable accessible outside its class
To specify a data type to be determined at runtime
To specify a data type to be determined at runtime
When interference is neither constructive nor destructive, it is:
1 Mark(s)
Your Answer:
intermediate interference
intermediate interference
linear interference
linear interference
retarded interference
retarded interference
encapsulated interference
encapsulated interference
The function strespn(s1,s2)?
1 Mark(s)
Your Answer:
finds a token separated by any of a set of characters
finds a token separated by any of a set of characters
searches a string for any one of a set of characters
searches a string for any one of a set of characters
finds the last position in si in which s2 appears
finds the last position in si in which s2 appears
determines length of initial string, segment made up of characters NOT in a specified set Answer
determines length of initial string, segment made up of characters NOT in a specified set Answer
Process and schedulers are used for:
1 Mark(s)
Your Answer:
Programs
Programs
I/O Devices
I/O Devices
I/O Modules
I/O Modules
Processes
Processes
What is the purpose of the `WindowEvent` class in Java event handling?
1 Mark(s)
Your Answer:
It represents an event listener
It represents an event listener
It represents an event source
It represents an event source
It represents window-related events
It represents window-related events
It represents an exception
It represents an exception
What will be the output of the following Java program? class newthread extends Thread { Thread t; String name; newthread(String threadname) { name = threadname; t = new Thread(this,name); t.start(); } public void run() { } } class multithreaded_programing { public static void main(String args[]) { newthread obj1 = new newthread("one"); newthread obj2 = new newthread("two"); try { Thread.sleep(1000); System.out.print(obj1.t.isAlive()); } catch(InterruptedException e) { System.out.print("Main thread interrupted"); } } }
1 Mark(s)
Your Answer:
true
true
false
false
Main thread interrupted
Main thread interrupted
None of the mentioned
None of the mentioned
Chemical treatments are given to replace hydroxyl groups in the non crystalline region by other groups in order to change property/properties like:
1 Mark(s)
Your Answer:
electrical resistance
electrical resistance
moisture absorption
moisture absorption
rot resistance
rot resistance
all of above
all of above
Which header file is required by the C++ programming language to use the OOPS concept?
1 Mark(s)
Your Answer:
stdio.h
stdio.h
iostream.h
iostream.h
stdlib.h
stdlib.h
We can easily use the OOPS concepts in c++ programs without using any header file.
We can easily use the OOPS concepts in c++ programs without using any header file.
The std::stack container in STL is implemented using:
1 Mark(s)
Your Answer:
Queue
Queue
Vector or deque
Vector or deque
List only
List only
Array only
Array only
Which return statement correctly returns the output?
1 Mark(s)
Your Answer:
public int cube(int x) { return (x + x); }
public int cube(int x) { return (x + x); }
public int cube(int x) return (x + x);
public int cube(int x) return (x + x);
public int cube(int x) { return x + x; }
public int cube(int x) { return x + x; }
None of the mentioned
None of the mentioned
What is the purpose of the @classmethod decorator compared to the @staticmethod decorator?
1 Mark(s)
Your Answer:
Operate on class-level data
Operate on class-level data
Operate on instance data
Operate on instance data
Decorate instance methods
Decorate instance methods
Operate on class methods
Operate on class methods
Automobile tire has atmospheric pressure of:
1 Mark(s)
Your Answer:
2x105 Pa
2x105 Pa
1x105 Pa
1x105 Pa
1.6x104 Pa
1.6x104 Pa
1x10-12 Pa
1x10-12 Pa
What is encapsulation in Ruby?
1 Mark(s)
Your Answer:
The inheritance of properties and behaviors
The inheritance of properties and behaviors
The bundling of data with the methods that operate on that data
The bundling of data with the methods that operate on that data
The conversion of data types
The conversion of data types
None of the above
None of the above
Feature of Windows include:
1 Mark(s)
Your Answer:
running several programs simultaneously
running several programs simultaneously
switching between open applications
switching between open applications
multitasking
multitasking
all of these
all of these
Serial access memories are useful in applications where:
1 Mark(s)
Your Answer:
Data consists of numbers
Data consists of numbers
Short access time is required
Short access time is required
Each stored word is processed differently
Each stored word is processed differently
Data naturally needs to flow in and out in serial form
Data naturally needs to flow in and out in serial form
What type of members are not serialized?
1 Mark(s)
Your Answer:
Private
Private
Protected
Protected
Static
Static
Throwable
Throwable
Connection-oriented protocols are used in the virtual circuit approach for packet switching, such as in:
1 Mark(s)
Your Answer:
frame relay
frame relay
FSK
FSK
ATM
ATM
both a and c
both a and c
According to Mendeleev's periodic table, what is the basis of the elements' chemical property?
1 Mark(s)
Your Answer:
Charge
Charge
Valency
Valency
Atomic number
Atomic number
Mass
Mass
Which device converts human-understandable data and programs into a form that the computer can process?
1 Mark(s)
Your Answer:
Printing
Printing
Output
Output
Solid State
Solid State
Input Answer
Input Answer
Inverse Laplace transform of f(s)=4/(s2-2s-3) is:
1 Mark(s)
Your Answer:
e3t-et
e3t-et
e-3t-et
e-3t-et
e-3t-e-t
e-3t-e-t
e3t-e-t
e3t-e-t
The result relation has all attributes from all the relations in the:
1 Mark(s)
Your Answer:
Select clause
Select clause
IN clause
IN clause
From clause
From clause
Define clause
Define clause
Which of the following constants has the value 255?
1 Mark(s)
Your Answer:
TYPE_NAVIGATE
TYPE_NAVIGATE
TYPE_RELOAD
TYPE_RELOAD
TYPE_BACK_FORWARD
TYPE_BACK_FORWARD
TYPE_RESERVED
TYPE_RESERVED
What is the output of the given code? print "what's your first name?" first_name=gets.chomp a=first_name.capitalize "a".reverse puts"My name is #{a}"
1 Mark(s)
Your Answer:
amil jones
amil jones
What's your first name? amil My name is Amil
What's your first name? amil My name is Amil
My name is lima
My name is lima
My name is limA
My name is limA
Which keys enable the input of numbers quickly ?
1 Mark(s)
Your Answer:
Function keys
Function keys
The numeric keypad
The numeric keypad
Ctrl, shift and Alt
Ctrl, shift and Alt
Arrow keys
Arrow keys
"BAUD" rate means
1 Mark(s)
Your Answer:
The number of bits transmitted per unit time.
The number of bits transmitted per unit time.
The number of bytes transmitted per unit time.
The number of bytes transmitted per unit time.
The rate at which the signal changes.
The rate at which the signal changes.
None of the above
None of the above
Enumeration is:?
1 Mark(s)
Your Answer:
a set of numbers
a set of numbers
a list of strings
a list of strings
a set of legal values possible for a variable
a set of legal values possible for a variable
a list of operators Answer
a list of operators Answer
Which of these software applications was not part of the first version of Microsoft Office?
1 Mark(s)
Your Answer:
PowerPoint
PowerPoint
Outlook
Outlook
Paint
Paint
None
None
Bidirectional Line Switching Ring (BLSR) is used:
1 Mark(s)
Your Answer:
one ring
one ring
two rings
two rings
three rings
three rings
four rings
four rings
A function returns one value and has only output parameters.
1 Mark(s)
Your Answer:
True
True
False
False
How can you create a private attribute in a Python class?
1 Mark(s)
Your Answer:
By prefixing the attribute name with an underscore (_)
By prefixing the attribute name with an underscore (_)
By using the private keyword
By using the private keyword
By using the hidden keyword
By using the hidden keyword
By using the secure keyword
By using the secure keyword
What will be the output of the following C# code? static void Main(string[] args) { int i = 0, j = 0; l1: while (i < 2) { i++; while (j < 3) { Console.WriteLine("loop\n"); goto l1; } } Console.ReadLine(); }
1 Mark(s)
Your Answer:
loop is printed infinite times
loop is printed infinite times
loop
loop
loop loop
loop loop
Compile time error
Compile time error
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.