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
:
48
:
00
Q:
1
/
53
🤖
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 2
Exam Duration:
00:48:00
Algorithms Mock Test 2
: Question
1
of 53
Which one of the following statements should be used to include a file?
1 Mark(s)
Your Answer:
#include ‘filename’;
#include ‘filename’;
include ‘filename’;
include ‘filename’;
@include ‘filename’;
@include ‘filename’;
#include ;
#include ;
Primary author of HTML (hyper text markup language) is:
1 Mark(s)
Your Answer:
Brendan Eich
Brendan Eich
Tim Berners-Lee
Tim Berners-Lee
google inc.
google inc.
Peter Norton
Peter Norton
Way in which computer data is transmitted from one place to another is called:
1 Mark(s)
Your Answer:
transmission mode
transmission mode
transfer mode
transfer mode
sending mode
sending mode
receiving mode
receiving mode
What will be the output of the following Python code? t=32.00 [round((x-32)*5/9) for x in t]
1 Mark(s)
Your Answer:
[0]
[0]
0
0
[0.00]
[0.00]
Error
Error
Changes in matter can be observed upon:
1 Mark(s)
Your Answer:
separating
separating
filtering
filtering
mixing
mixing
heating
heating
Which of the following pattern matching modifiers permits whitespace and comments inside the regular expression?
1 Mark(s)
Your Answer:
re.L
re.L
re.S
re.S
re.U
re.U
re.X
re.X
The specification that prohibits the insertion of a null value for the attribute, is called:
1 Mark(s)
Your Answer:
Like Null value
Like Null value
Null value
Null value
Not Null value
Not Null value
AS Null value
AS Null value
Which of the following presentation elements can you modify using the slide master?
1 Mark(s)
Your Answer:
Slide comments
Slide comments
Slide transitions
Slide transitions
Speaker note font and color
Speaker note font and color
All of above
All of above
What will be the output of the following Python code snippet? not(1030)
1 Mark(s)
Your Answer:
True
True
False
False
Error
Error
No output
No output
The notation for finding the number of tuples in a relation, the aggregate function in SQL is:
1 Mark(s)
Your Answer:
count(*)
count(*)
count(@)
count(@)
count(%)
count(%)
count(?)
count(?)
Database applications are seldom intended for use by a single user.
1 Mark(s)
Your Answer:
True
True
False
False
What will be the output of the program if the array begins at address 65486? #include<stdio.h> void main() { int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr); }
1 Mark(s)
Your Answer:
65486, 65488
65486, 65488
65486, 65490
65486, 65490
65486, 65487
65486, 65487
65486, 65486
65486, 65486
None of these
None of these
What is the result of the following code in Java? `System.out.println(10 > 5 ? "true" : "false");`
1 Mark(s)
Your Answer:
true
true
false
false
Compilation Error
Compilation Error
Runtime Error
Runtime Error
We can replace a font on all sides with another font using the _____ option.
1 Mark(s)
Your Answer:
Format, Replace Fonts
Format, Replace Fonts
Edit, Fonts
Edit, Fonts
Tools, Replace Fonts
Tools, Replace Fonts
None of these
None of these
Stored representations of objects and events that have meaning and importance in the user's environment are known as a database.
1 Mark(s)
Your Answer:
True
True
False
False
Base 10 refers to which number system?
1 Mark(s)
Your Answer:
decimal
decimal
octal
octal
binary
binary
hexadecimal
hexadecimal
If we purchase any fixed asset in credit, we can pass it from
1 Mark(s)
Your Answer:
Payment mode
Payment mode
Receipt mode
Receipt mode
Purchase mode
Purchase mode
Contra mode
Contra mode
When a row of data is to be converted into columns
1 Mark(s)
Your Answer:
Copy the cells in row, select the same number of cells in row and paste
Copy the cells in row, select the same number of cells in row and paste
Copy the cells in column then choose Paste Special, then click Transpose and OK
Copy the cells in column then choose Paste Special, then click Transpose and OK
Copy the cells then go to Cells then on Alignment tab click Transpose check box and click OK
Copy the cells then go to Cells then on Alignment tab click Transpose check box and click OK
Select the cells then place the cell pointer on new cell and choose Paste Special, mark Transpose check box and click OK
Select the cells then place the cell pointer on new cell and choose Paste Special, mark Transpose check box and click OK
The header of the datagram in the Internet Protocol Version (IPv4) has:
1 Mark(s)
Your Answer:
0 to 20 bytes
0 to 20 bytes
20 to 40 bytes
20 to 40 bytes
20 to 60 bytes
20 to 60 bytes
20 to 80 bytes
20 to 80 bytes
The mode of propagation of data in 10GBase-E is:
1 Mark(s)
Your Answer:
single mode
single mode
double mode
double mode
multi mode
multi mode
duplex mode
duplex mode
In Carrier Sense Multiple Access/Collision Detection (CSMA/CD), to continue the transmission process we use a:
1 Mark(s)
Your Answer:
loop
loop
station
station
signal
signal
navigation
navigation
Assertion (A): The Full Moon rises at sunset and sets at sunrise. Reason (R): The Full Moon is directly opposite the Sun in the sky. Codes:
1 Mark(s)
Your Answer:
A) Both (A) and (R) are true, and (R) is the correct explanation of (A).
A) Both (A) and (R) are true, and (R) is the correct explanation of (A).
B) Both (A) and (R) are true, but (R) is not the correct explanation of (A).
B) Both (A) and (R) are true, but (R) is not the correct explanation of (A).
C) (A) is true, but (R) is false.
C) (A) is true, but (R) is false.
D) (A) is false, but (R) is true. (A) and (R) are true, and (R) is the correct explanation of (A). Keeping Time with the Skies Class 8 Fill in the blanks
D) (A) is false, but (R) is true. (A) and (R) are true, and (R) is the correct explanation of (A). Keeping Time with the Skies Class 8 Fill in the blanks
The number of oxygen atoms in glucose molecule is 6 and in hydrogen molecules is:
1 Mark(s)
Your Answer:
6
6
12
12
18
18
8
8
To delete the selected text in MS Word, which key is used?
1 Mark(s)
Your Answer:
Delete
Delete
Ctrl
Ctrl
Alt
Alt
None of these
None of these
Which one of the following sorts rows in SQL?
1 Mark(s)
Your Answer:
SORT BY
SORT BY
ALIGN BY
ALIGN BY
ORDER BY
ORDER BY
GROUP BY
GROUP BY
What is not true about XSLT?
1 Mark(s)
Your Answer:
XSLT is a declarative transformation language.
XSLT is a declarative transformation language.
XSLT uses a set of rules that govern how a document is to be materialized is created.
XSLT uses a set of rules that govern how a document is to be materialized is created.
XSLT uses a set of procedures that specify how a document is to be programmed.
XSLT uses a set of procedures that specify how a document is to be programmed.
XSLT is used to transform the input document into another document.
XSLT is used to transform the input document into another document.
What is the purpose of friend functions in C++?
1 Mark(s)
Your Answer:
To allow access to private and protected members of a class from outside the class
To allow access to private and protected members of a class from outside the class
To create multiple instances of a class
To create multiple instances of a class
To hide the implementation details of a class
To hide the implementation details of a class
To define functions within a class
To define functions within a class
Which of the following occurs when a transaction rereads data it has previously read and finds modification or deletions caused by a committed transaction?
1 Mark(s)
Your Answer:
Nonrepeatable read
Nonrepeatable read
Phantom read
Phantom read
Dirty read
Dirty read
Consistent read
Consistent read
Which of the following constructor of class Thread is valid one?
1 Mark(s)
Your Answer:
Thread(Runnable threadOb, int priority)
Thread(Runnable threadOb, int priority)
Thread(int priority)
Thread(int priority)
Thread(Runnable threadOb, String threadName)
Thread(Runnable threadOb, String threadName)
Thread(String threadName, int priority)
Thread(String threadName, int priority)
None of these
None of these
Melting point of Calcium is:
1 Mark(s)
Your Answer:
2830°C
2830°C
838°C
838°C
1440°C
1440°C
20°C
20°C
________ is considered to be one of the foundations of data access in the Microsoft world.
1 Mark(s)
Your Answer:
ODBC
ODBC
OLE DB
OLE DB
JPCD
JPCD
ADO
ADO
Which of the following are true regarding OSPF areas? 1. You must have separate loopback interfaces configured in each area. 2. The numbers you can assign an area go up to 65,535. 3. The backbone area is also called area 0. 4. If your design is hierarchical, then you don't need multiple areas. 5. All areas must connect to area 0.
1 Mark(s)
Your Answer:
1 only
1 only
1 and 2 only
1 and 2 only
3 and 4 only
3 and 4 only
3, 4 and 5
3, 4 and 5
Which variable type is suitable for a switch case label?
1 Mark(s)
Your Answer:
float
float
char
char
string
string
double
double
Which of these class is related to all the exceptions that cannot be caught?
1 Mark(s)
Your Answer:
Error
Error
Exception
Exception
RuntimeExecption
RuntimeExecption
All of the mentioned
All of the mentioned
What is multi-threading in C++?
1 Mark(s)
Your Answer:
A process that allows parallel execution of tasks
A process that allows parallel execution of tasks
A process that allows a single thread to execute
A process that allows a single thread to execute
A process that allows multiple processes to execute concurrently
A process that allows multiple processes to execute concurrently
A process that allows multiple threads to execute concurrently
A process that allows multiple threads to execute concurrently
What is the significance of NiFi's "LogAttribute" processor in data flow management?
1 Mark(s)
Your Answer:
A query language for Hadoop
A query language for Hadoop
Log the values of specified attributes for troubleshooting
Log the values of specified attributes for troubleshooting
A distributed file system
A distributed file system
None of the above
None of the above
How can you prevent a module from executing code when imported?
1 Mark(s)
Your Answer:
By using the if __name__ == "__main__": construct
By using the if __name__ == "__main__": construct
By using the noexec keyword
By using the noexec keyword
By using the prevent_execute decorator
By using the prevent_execute decorator
By using the not_executed function
By using the not_executed function
Which tree property is used to ensure that in a B-Tree all leaves are at the same level?
1 Mark(s)
Your Answer:
B-Tree order
B-Tree order
Equal key distribution
Equal key distribution
Balanced height
Balanced height
Uniform height
Uniform height
What is the output of the code: for i in range(2, 8, 2): print(i)
1 Mark(s)
Your Answer:
2 4 6
2 4 6
2 4 8
2 4 8
2 3 4
2 3 4
2 5 8
2 5 8
What is the height of a Red-Black tree with n nodes in the worst case?
1 Mark(s)
Your Answer:
O(n)
O(n)
O(log2 n)
O(log2 n)
O(log n)
O(log n)
O(1)
O(1)
Which of the following is the symbol of standard normal PDF?
1 Mark(s)
Your Answer:
φ
φ
#
#
&
&
*
*
Which of the following measurement defines a measurement relative to a font’s x-height?
1 Mark(s)
Your Answer:
ex
ex
em
em
pt
pt
px
px
Modernizr does actually add missing functionalities to browsers save for the HTML5 tags styling support.
1 Mark(s)
Your Answer:
True
True
False
False
In what respect human beings are superior to computers?
1 Mark(s)
Your Answer:
Diligence
Diligence
Intelligence
Intelligence
Slavery
Slavery
Reliability
Reliability
1630°C is boiling point of:
1 Mark(s)
Your Answer:
Samarium
Samarium
Scandium
Scandium
Selenium
Selenium
Sulfur
Sulfur
Sign qualifiers can be applied to double.
1 Mark(s)
Your Answer:
True
True
False
False
You should save your computer from?
1 Mark(s)
Your Answer:
Viruses
Viruses
Time bombs
Time bombs
Worms
Worms
All of the above
All of the above
The Method use to remove white space from a string?
1 Mark(s)
Your Answer:
Split()
Split()
Substring()
Substring()
Trim()
Trim()
TrimStart()
TrimStart()
Which of the following operator takes only integer operands?
1 Mark(s)
Your Answer:
+
+
*
*
/
/
%
%
None of these
None of these
Controller of the computer system transfers data from device to:
1 Mark(s)
Your Answer:
buffers
buffers
cache
cache
registers
registers
indexes
indexes
Question: Which problem does not solve the Divide and Conquer strategy?
1 Mark(s)
Your Answer:
Matrix Multiplication
Matrix Multiplication
Graph Traversal
Graph Traversal
Convex Hull Construction
Convex Hull Construction
String Matching
String Matching
What does the \d character class represent in a regular expression in Ruby?
1 Mark(s)
Your Answer:
Matches any word character
Matches any word character
Matches any whitespace character
Matches any whitespace character
Matches any non-digit character
Matches any non-digit character
Matches any digit character
Matches any digit character
To created a bulleted list, use 1. <ol> 2. <ul> 3. <il>
1 Mark(s)
Your Answer:
Option 1
Option 1
Option 2
Option 2
Option 3
Option 3
None of the above
None of the above
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.