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
:
50
:
00
Q:
1
/
55
🤖
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.
Kotlin Mock Test 17
Exam Duration:
00:50:00
Kotlin Mock Test 17
: Question
1
of 55
What type of tree traversal involves visiting the root node, then recursively visiting the left subtree, and finally the right subtree?
1 Mark(s)
Your Answer:
Preorder
Preorder
Inorder
Inorder
Postorder
Postorder
Level-order
Level-order
What will be the output of the following PHP code ? <?php if (0.1) print "hi" ; else print "how are u"; ?>
1 Mark(s)
Your Answer:
how are u
how are u
hi
hi
error
error
no output
no output
Density of Venus is:
1 Mark(s)
Your Answer:
3933 kg/m3
3933 kg/m3
5427 kg/m3
5427 kg/m3
5243 kg/m3
5243 kg/m3
687 kg/m3
687 kg/m3
What is a time complexity for finding the longest substring that is repeated in a string?
1 Mark(s)
Your Answer:
O (log n!)
O (log n!)
Ɵ (n!)
Ɵ (n!)
O (n2+ n1)
O (n2+ n1)
Ɵ (n)
Ɵ (n)
Question: The complexity of the Closest Pair algorithm employing a Divide and Conquer technique is:
1 Mark(s)
Your Answer:
O(n)
O(n)
O(n log n)
O(n log n)
O(n^2)
O(n^2)
O(log n)
O(log n)
_______________is the ability of a device to “jump” directly to the requested data?
1 Mark(s)
Your Answer:
Sequential access
Sequential access
Random access
Random access
Quick access
Quick access
All of the above
All of the above
Device that takes data from user and convert it into the form that can be easily understandable by computer is:
1 Mark(s)
Your Answer:
storage device
storage device
output device
output device
input device
input device
pointing device
pointing device
X-windows operating system is an user interface that is:
1 Mark(s)
Your Answer:
command line interface
command line interface
graphical user interface
graphical user interface
batch interface
batch interface
device interface
device interface
Staining of heavy metal at times results in:
1 Mark(s)
Your Answer:
extra details
extra details
less details
less details
wrong details
wrong details
enhanced details
enhanced details
Which of the following is not a reserved character?
1 Mark(s)
Your Answer:
&
&
>
>
+
+
@
@
What is MS Word primarily used for?
1 Mark(s)
Your Answer:
Creating and editing presentations
Creating and editing presentations
Creating and editing documents
Creating and editing documents
Creating and editing images
Creating and editing images
None of these
None of these
What does the rstan package in R primarily facilitate?
1 Mark(s)
Your Answer:
Bayesian statistical modeling with Stan
Bayesian statistical modeling with Stan
Time series analysis and forecasting
Time series analysis and forecasting
Handling large datasets with parallel computing
Handling large datasets with parallel computing
Interactive data visualization and exploration
Interactive data visualization and exploration
In the given graph, identify the shortest path having minimum cost to reach vertex E if A is the source vertex.
1 Mark(s)
Your Answer:
a-b-e
a-b-e
a-c-e
a-c-e
a-c-d-e
a-c-d-e
a-c-d-b-e
a-c-d-b-e
What is the correct way to declare a string array in C#?
1 Mark(s)
Your Answer:
string[] colors;
string[] colors;
array colors;
array colors;
string colors[];
string colors[];
colors[] = string;
colors[] = string;
Which of the following is the another name for the error or bug in software or hardware?
1 Mark(s)
Your Answer:
Leech
Leech
Squid
Squid
Slug
Slug
Glitch Answer
Glitch Answer
Acceptable keyword in JAVA is:
1 Mark(s)
Your Answer:
Long
Long
while
while
Super
Super
New
New
Given an input arr = {2, 5, 7, 99, 899}; key = 899; What is the level of recursion?
1 Mark(s)
Your Answer:
5
5
2
2
3
3
4
4
A quantity representing the power to which a fixed number (the base) must be raised to produce a given number is termed as:
1 Mark(s)
Your Answer:
numeric
numeric
logarithm
logarithm
function
function
derivative
derivative
What will be the output of the following Java program? class recursion { int func (int n) { int result; if (n == 1) return 1; result = func (n - 1); return result; } } class Output { public static void main(String args[]) { recursion obj = new recursion() ; System.out.print(obj.func(5)); } }
1 Mark(s)
Your Answer:
0
0
1
1
120
120
None of the mentioned
None of the mentioned
Virtual Memory is typically located in ?
1 Mark(s)
Your Answer:
RAM
RAM
CPU
CPU
Hard Drive
Hard Drive
Flash Memory
Flash Memory
In Java, which access modifier allows a method or variable to be accessed within the same package only?
1 Mark(s)
Your Answer:
private
private
public
public
protected
protected
package-private
package-private
A computer cannot “boot” if it does not have the _____system.?
1 Mark(s)
Your Answer:
Compiler
Compiler
Loader
Loader
Operating
Operating
Assembler
Assembler
The main method should be static for the reason
1 Mark(s)
Your Answer:
It can be accessed easily by the class loader.
It can be accessed easily by the class loader.
It can be accessed by every method or variable without any hindrance.
It can be accessed by every method or variable without any hindrance.
It can be executed without creating any instance of the class.
It can be executed without creating any instance of the class.
None of the above
None of the above
The length of IPv4 address is:
1 Mark(s)
Your Answer:
32 bits
32 bits
64 bits
64 bits
24 bits
24 bits
8 bits
8 bits
Which control structure is used to execute a block of code only if a condition is true in C?
1 Mark(s)
Your Answer:
for loop
for loop
while loop
while loop
if statement
if statement
switch case
switch case
Which of the following is correct to declare a 2D array?
1 Mark(s)
Your Answer:
int arr[2][3];
int arr[2][3];
int arr[3][2];
int arr[3][2];
int arr[][]=new int[2][3];
int arr[][]=new int[2][3];
Both A and B
Both A and B
The first address in the block can be found by setting the rightmost 32-n bits to:
1 Mark(s)
Your Answer:
0's
0's
1's
1's
combination of 0 and 1s
combination of 0 and 1s
null
null
While creating relationship, when you drag a field of a field to drop into another table the mouse pointer changes into
1 Mark(s)
Your Answer:
a doctor's sign
a doctor's sign
thin + sign
thin + sign
outline rectangle
outline rectangle
None of above
None of above
Process control information is the additional information needed by the:
1 Mark(s)
Your Answer:
User
User
Operating System
Operating System
CPU
CPU
Process
Process
BSC comes under which of the following category?
1 Mark(s)
Your Answer:
Operation
Operation
Radio
Radio
Network
Network
Mobile
Mobile
4GL is an example of ________________ processing?
1 Mark(s)
Your Answer:
White Box
White Box
Black Box
Black Box
Functional
Functional
Both Black Box & Functional
Both Black Box & Functional
Call by value What is a potential risk of using call by reference?
1 Mark(s)
Your Answer:
Memory is duplicated
Memory is duplicated
The function cannot modify the original argument
The function cannot modify the original argument
The function can inadvertently modify the original argument
The function can inadvertently modify the original argument
It uses too much memory
It uses too much memory
Which of the following statement is not true about preprocessor directives?
1 Mark(s)
Your Answer:
These are lines read and processed by the preprocessor
These are lines read and processed by the preprocessor
They do not produce any code by themselves
They do not produce any code by themselves
These must be written on their own line
These must be written on their own line
They end with a semicolon
They end with a semicolon
Which among the following is a typical declaration of an unrolled linked list in C?
1 Mark(s)
Your Answer:
#define SIZE N struct node { int node_count; int arr[SIZE]; struct node *next; };
#define SIZE N struct node { int node_count; int arr[SIZE]; struct node *next; };
#define SIZE N struct node { int arr[SIZE]; struct node *prev; struct node *top; };
#define SIZE N struct node { int arr[SIZE]; struct node *prev; struct node *top; };
#define SIZE N struct node { int node_count; struct node *next; };
#define SIZE N struct node { int node_count; struct node *next; };
#define SIZE N struct node { int node_count; int arr[SIZE]; };
#define SIZE N struct node { int node_count; int arr[SIZE]; };
What is the main idea behind grey-level slicing?
1 Mark(s)
Your Answer:
For brightening the relevant grey-valued pixels and preserving the background
For brightening the relevant grey-valued pixels and preserving the background
To give all grey levels of a specific range high value and a low value to all other grey levels.
To give all grey levels of a specific range high value and a low value to all other grey levels.
All of the above
All of the above
None of the above
None of the above
Which of the following feature of powerpoint allows us to quickly create a simple presentation?
1 Mark(s)
Your Answer:
Chart Wizard
Chart Wizard
Auto content wizard
Auto content wizard
Transition wizard
Transition wizard
None of the above
None of the above
In R, which package is commonly used for creating interactive 3D plots?
1 Mark(s)
Your Answer:
rgl
rgl
plot3D
plot3D
threeDplot
threeDplot
interactive3D
interactive3D
Which of these methods is used to compare two strings such that after comparison output returns different integer values as (0 for false, 1 for true)?
1 Mark(s)
Your Answer:
Equals ()
Equals ()
== operator
== operator
Compare()
Compare()
None of the mentioned
None of the mentioned
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
The class at the top of exception class hierarchy is .................
1 Mark(s)
Your Answer:
ArithmeticException
ArithmeticException
Throwable
Throwable
Object
Object
Exception
Exception
How do you find the number with the highest value of x and y?
1 Mark(s)
Your Answer:
Math.max(x, y)
Math.max(x, y)
Math.ceil(x, y)
Math.ceil(x, y)
top(x, y)
top(x, y)
ceil(x, y)
ceil(x, y)
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
Which WAN encapsulations can be configured on an asynchronous serial connection? 1. PPP 2. ATM 3. HDLC 4. SDLC 5. Frame Relay
1 Mark(s)
Your Answer:
1 and 2
1 and 2
2 and 4
2 and 4
3, 4 and 5
3, 4 and 5
All of the above
All of the above
The organ that detects light and converts it into electro-chemical impulses is known as:
1 Mark(s)
Your Answer:
Eye
Eye
Nose
Nose
Ear
Ear
Skin
Skin
Ready the Query carefully: SELECT emp_name FROM department WHERE dept_name LIKE ' _____ Computer Science'; In the above-given Query, which of the following can be placed in the Query's blank portion to select the "dept_name" that also contains Computer Science as its ending string? ``` SELECT emp_name FROM department WHERE dept_name LIKE ' _____ Computer Science'; ```
1 Mark(s)
Your Answer:
&
&
_
_
%
%
$
$
The affinity audience can be defined as __________.
1 Mark(s)
Your Answer:
A user similar to that of your remarketing list
A user similar to that of your remarketing list
A marketing user who is willing to make a purchase
A marketing user who is willing to make a purchase
A user showing a continuous interest in the matter
A user showing a continuous interest in the matter
A user similar to that of your customer list
A user similar to that of your customer list
In java a thread can be created by ..........
1 Mark(s)
Your Answer:
Extending the thread class.
Extending the thread class.
Implementing Runnable interface.
Implementing Runnable interface.
Both of the above
Both of the above
None of these
None of these
To implement a specified .NET Framework interface which directive is used:
1 Mark(s)
Your Answer:
@Register'
@Register'
@Control'
@Control'
@Reference'
@Reference'
@Implements'
@Implements'
Which device reduces collision domains but not broadcast domains?
1 Mark(s)
Your Answer:
Hub
Hub
Switch
Switch
Router
Router
Repeater
Repeater
In computer, step for maintaining the security of important data is known as:
1 Mark(s)
Your Answer:
data backup
data backup
data protection
data protection
data locking
data locking
data securing
data securing
What will be the output of the following PHP code ? <?php print_r "Hello world" ?>
1 Mark(s)
Your Answer:
Error
Error
Hello World
Hello World
Nothing
Nothing
Missing semicolon error
Missing semicolon error
In real-time interactive audio-video, mixing means combining several streams of traffic into:
1 Mark(s)
Your Answer:
1 stream
1 stream
2 stream
2 stream
3 stream
3 stream
4 stream
4 stream
In cell network, the basic unit of the of data exchange is called:
1 Mark(s)
Your Answer:
framing
framing
switching
switching
column
column
cell
cell
Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?
1 Mark(s)
Your Answer:
RGB
RGB
RGBa
RGBa
RGBaplha
RGBaplha
AlphaRGB
AlphaRGB
What does the matrix() function create in R?
1 Mark(s)
Your Answer:
A list of elements
A list of elements
A one-dimensional array
A one-dimensional array
A two-dimensional array
A two-dimensional array
A data frame
A data frame
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.