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
01
:
00
:
00
Q:
1
/
67
🤖
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.
Cyber Security Mock Test 4
Exam Duration:
01:00:00
Cyber Security Mock Test 4
: Question
1
of 67
What will be the output of the following Java code? class exception_handling { public static void main(String args[]) { try { System.out.print("Hello" + " " + 1 / 0); } finally { System.out.print("World"); } } }
1 Mark(s)
Your Answer:
Hello
Hello
World
World
Compilation Error
Compilation Error
First Exception then World
First Exception then World
Which attribute does not lie inside <a> and <area> elements?
1 Mark(s)
Your Answer:
Media
Media
Ping
Ping
Hreflang
Hreflang
Preload
Preload
What are the tabs that appear at the bottom of each workbook called?
1 Mark(s)
Your Answer:
Reference tabs
Reference tabs
Position tabs
Position tabs
Location tabs
Location tabs
Sheet tabs
Sheet tabs
What is the shortcut key for Help in MS Word?
1 Mark(s)
Your Answer:
F1
F1
F2
F2
F3
F3
F4
F4
The . . . . . . . . and the EditLog are central data structures of HDFS.
1 Mark(s)
Your Answer:
DsImage
DsImage
FsImage
FsImage
FsImages
FsImages
All of the mentioned
All of the mentioned
Which menu should we used, if we want to add Clip Art?
1 Mark(s)
Your Answer:
File
File
View
View
Insert
Insert
Help
Help
Interfaces in .Net are:
1 Mark(s)
Your Answer:
All interfaces are derived from an Object class.
All interfaces are derived from an Object class.
Interfaces can be inherited.
Interfaces can be inherited.
All interfaces are derived from an Object interface.
All interfaces are derived from an Object interface.
Interfaces can contain only method declaration.
Interfaces can contain only method declaration.
What will be the output of the following Java code snippet? double a = 0.02; double b = 0.03; double c = b - a; System.out.println(c); BigDecimal _a = new BigDecimal("0.02"); BigDecimal _b = new BigDecimal("0.03"); BigDecimal _c = b.subtract(_a); System.out.println(_c);
1 Mark(s)
Your Answer:
0.009999999999999998 0.01
0.009999999999999998 0.01
0.01 0.009999999999999998
0.01 0.009999999999999998
0.01 0.01
0.01 0.01
0.009999999999999998 0.009999999999999998
0.009999999999999998 0.009999999999999998
Read the information given below carefully and write a list comprehension such that the output is: ['e', 'o'] w="hello" v=('a', 'e', 'i', 'o', 'u')
1 Mark(s)
Your Answer:
[x for w in v if x in v]
[x for w in v if x in v]
[x for x in w if x in v]
[x for x in w if x in v]
[x for x in v if w in v]
[x for x in v if w in v]
[x for v in w for x in w]
[x for v in w for x in w]
Which one of the following is related to the services provided by Cloud?
1 Mark(s)
Your Answer:
Sourcing
Sourcing
Ownership
Ownership
Reliability
Reliability
PaaS
PaaS
What happens to a function defined inside a class without any complex operations (like looping, a large number of lines, etc)?
1 Mark(s)
Your Answer:
It becomes a virtual function of the class
It becomes a virtual function of the class
It becomes a default calling function of the class
It becomes a default calling function of the class
It becomes an inline function of the class
It becomes an inline function of the class
The program gives an error
The program gives an error
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
There is a great influence of soil on plants:
1 Mark(s)
Your Answer:
growth
growth
development
development
both a and b
both a and b
reproduction
reproduction
What will be the output of the following Python function? any([2>8, 4>2, 1>2])
1 Mark(s)
Your Answer:
Error
Error
True
True
False
False
4>2
4>2
What will be the time complexity of the following code? #include <bits/stdc++.h> using namespace std; void func(int arr[], int left, int right) { while (left < right) { int temp = arr[left]; arr[left] = arr[right]; arr[right] = temp; left++; right--; } } void printArray(int arr[], int size) { for (int i = 0; i < size; i++) cout << arr[i] << " "; } int main() { int arr[] = {1,4,3,5}; int n = sizeof(arr) / sizeof(arr[0]); func(arr, 0, n-1); printArray(arr, n); return 0; }
1 Mark(s)
Your Answer:
O(n)
O(n)
O(log n)
O(log n)
O(1)
O(1)
O(n log n)
O(n log n)
Which of the following architectural standards is working with the cloud computing industry?
1 Mark(s)
Your Answer:
Service-oriented architecture
Service-oriented architecture
Standardized Web services
Standardized Web services
Web-application frameworks
Web-application frameworks
All of the mentioned
All of the mentioned
The Asymmetric Digital Subscriber Line (ADSL) is used the line code of:
1 Mark(s)
Your Answer:
DMT
DMT
2B1Q
2B1Q
T-1line
T-1line
56 modem
56 modem
What is the significance of the "cut" in the context of the Max-Flow Min-Cut Theorem?
1 Mark(s)
Your Answer:
It is the total weight of all edges.
It is the total weight of all edges.
It represents the number of cycles in the graph.
It represents the number of cycles in the graph.
It represents a partition of the vertices into two sets, where the minimum cut is the smallest set of edges that, if removed, would disconnect the source from the sink.
It represents a partition of the vertices into two sets, where the minimum cut is the smallest set of edges that, if removed, would disconnect the source from the sink.
It represents the number of vertices in the graph.
It represents the number of vertices in the graph.
outline-offset is not supported by . . . . . . . .
1 Mark(s)
Your Answer:
IE
IE
Chrome
Chrome
Opera
Opera
Firefox
Firefox
To restart the computer, following combination of keys is used
1 Mark(s)
Your Answer:
Del + Ctrl
Del + Ctrl
Backspace + Ctrl
Backspace + Ctrl
Esc + Ctrl
Esc + Ctrl
Insert + Esc
Insert + Esc
Ctrl + Alt + Del
Ctrl + Alt + Del
When does Exceptions in Java arises in code sequence?
1 Mark(s)
Your Answer:
Run Time
Run Time
Compilation Time
Compilation Time
Can Occur Any Time
Can Occur Any Time
None of the mentioned
None of the mentioned
Which function is the entry point of a C/C++ program?
1 Mark(s)
Your Answer:
main()
main()
start()
start()
program()
program()
begin()
begin()
In MS Word, Ctrl + Y is used for ____?
1 Mark(s)
Your Answer:
Redo
Redo
Paste
Paste
Cut
Cut
Undo
Undo
Which of the following property defines the number of columns in a multicolumn text flow?
1 Mark(s)
Your Answer:
columns
columns
column-flow
column-flow
column-number
column-number
column-count
column-count
The . . . . . . . . function takes an arbitrary number of arguments and concatenates them one by one into character strings.
1 Mark(s)
Your Answer:
copy()
copy()
paste()
paste()
bind()
bind()
del()
del()
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
The blocking factor is:
1 Mark(s)
Your Answer:
a group of fields stored in adjacent memory.
a group of fields stored in adjacent memory.
the number of physical records per page.
the number of physical records per page.
attributes grouped together by the same primary key.
attributes grouped together by the same primary key.
attributes grouped together by the same secondary key.
attributes grouped together by the same secondary key.
CPCB stands for -
1 Mark(s)
Your Answer:
Control pollution control board
Control pollution control board
Central pollution central board
Central pollution central board
Control pollution central board
Control pollution central board
Central pollution control board
Central pollution control board
Network 206.143.5.0 was assigned to the Acme Company to connect to its ISP. The administrator of Acme would like to configure one router with the commands to access the Internet. Which commands could be configured on the Gateway router to allow Internet access to the entire network? 1. Gateway (config) # ip route 0.0.0.0 0.0.0.0 206.143.5.2 2. Gateway (config) # router rip 3. Gateway (config-router) # network 206.143.5.0 4. Gateway (config-router) # network 206.143.5.0 default
1 Mark(s)
Your Answer:
1 only
1 only
3 only
3 only
1, 2 and 4
1, 2 and 4
1 and 4
1 and 4
Using the form of abbreviation in Internet Protocol Version (IPv6) address, 3210 can be written as:
1 Mark(s)
Your Answer:
321
321
cannot be abbreviated
cannot be abbreviated
32
32
3021
3021
In Stream Control Transmission Protocol (SCTP), the receiver stores all chunks that have arrived in its queue including the:
1 Mark(s)
Your Answer:
Out-of-Order Ones
Out-of-Order Ones
Out-of-Flow Ones
Out-of-Flow Ones
Out-of-Reach Ones
Out-of-Reach Ones
Out-of-Index Ones
Out-of-Index Ones
Sun, wind, running water, tides, biomass, and geothermal resources are known as:
1 Mark(s)
Your Answer:
renewable
renewable
non renewable
non renewable
reversible
reversible
irreversible
irreversible
Caching type supported by ASP.Net ?
1 Mark(s)
Your Answer:
Output Caching
Output Caching
DataCaching
DataCaching
Both A and B
Both A and B
None of these
None of these
In a computer spreadsheet, function which is used to get the minimum value is called:
1 Mark(s)
Your Answer:
Max
Max
Min
Min
Minimum
Minimum
Lower
Lower
PHP syntax is closed with
1 Mark(s)
Your Answer:
Java script
Java script
python
python
Perl
Perl
Java and C++
Java and C++
In database, columns are called?
1 Mark(s)
Your Answer:
Rows
Rows
Fields
Fields
Records
Records
None of these
None of these
What is the purpose of the finally block in exception handling in C#?
1 Mark(s)
Your Answer:
To define exception classes
To define exception classes
To handle specific types of exceptions
To handle specific types of exceptions
To catch exceptions
To catch exceptions
To execute code that must always run, whether or not an exception occurs
To execute code that must always run, whether or not an exception occurs
Link based measures rely on _____________ structure of a web graph to obtain related pages?
1 Mark(s)
Your Answer:
Embedded
Embedded
Hyperlink
Hyperlink
Dynamic
Dynamic
All of the mentioned
All of the mentioned
Which of the following statements is true about arrays in Java?
1 Mark(s)
Your Answer:
Arrays can change in size after initialization.
Arrays can change in size after initialization.
Arrays can store elements of different types.
Arrays can store elements of different types.
Arrays can have a negative length.
Arrays can have a negative length.
Arrays are objects of type Array.
Arrays are objects of type Array.
What will be the Correct R code for the following output? foo bar 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE
1 Mark(s)
Your Answer:
> x <- data.frame(foo = 1:4, bar = c(F, T, F, F)) > x
> x <- data.frame(foo = 1:4, bar = c(F, T, F, F)) > x
> x <- data.frame(foo = 1:6, bar = c(F, T, F, F)) > x
> x <- data.frame(foo = 1:6, bar = c(F, T, F, F)) > x
> x <- data.frame(foo = 1:4, bar = c(T, T, F, F)) > x
> x <- data.frame(foo = 1:4, bar = c(T, T, F, F)) > x
> x <- data.frame(foo = 14:1, bar = c(F, T, F, F)) > x
> x <- data.frame(foo = 14:1, bar = c(F, T, F, F)) > x
The amount of 1 liter contains:
1 Mark(s)
Your Answer:
100ml
100ml
1000ml
1000ml
10mm
10mm
10kg
10kg
A straight permutation cipher or a straight P-box has the same number of inputs as:
1 Mark(s)
Your Answer:
cipher
cipher
frames
frames
outputs
outputs
bits
bits
How many copies of the database schema are typically used in the redesign process?
1 Mark(s)
Your Answer:
One
One
Two
Two
Three
Three
Four
Four
Which of these is a a type of sound file?
1 Mark(s)
Your Answer:
.DAT files
.DAT files
.LOG files
.LOG files
.DRV files
.DRV files
.WAV files
.WAV files
Which of the following are the filtration units of kidneys?
1 Mark(s)
Your Answer:
Ureter
Ureter
Neurons
Neurons
Nephrons
Nephrons
Urethra
Urethra
Which sorting algorithm uses a "pivot" element to partition the array into sub-arrays?
1 Mark(s)
Your Answer:
Merge Sort
Merge Sort
Heap Sort
Heap Sort
Counting Sort
Counting Sort
Quick Sort
Quick Sort
SQL objects such as relations and views are contained within a:
1 Mark(s)
Your Answer:
Subcatalogs
Subcatalogs
Query
Query
Schema
Schema
Methods
Methods
In filtration the liquid (and anything dissolved in the liquid) passes through holes in the filter paper but the solid particles are too big and:
1 Mark(s)
Your Answer:
get stuck
get stuck
go through
go through
torn off
torn off
dissolve
dissolve
Which of the following is accessed by a member function of a class?
1 Mark(s)
Your Answer:
The object of that class
The object of that class
All members of a class
All members of a class
The public part of a class
The public part of a class
The private part of a class
The private part of a class
The part of ear that directs sound waves towards the external auditory unit is known as:
1 Mark(s)
Your Answer:
pinna
pinna
ear lobe
ear lobe
ear canal
ear canal
ear drum
ear drum
The keyword "inverse" is used in which of the following?
1 Mark(s)
Your Answer:
Class
Class
Attribute
Attribute
Relationship
Relationship
All of the above
All of the above
Which of these classes are used by Byte streams for input and output operation?
1 Mark(s)
Your Answer:
InputStream
InputStream
InputOutputStream
InputOutputStream
Reader
Reader
All of the mentioned
All of the mentioned
What is the latest version of C# as of 2023?
1 Mark(s)
Your Answer:
C# 7
C# 7
C# 8
C# 8
C# 9
C# 9
C# 10
C# 10
You are given infinite coins of denominations v1, v2, v3, ....., vn and a sum S. The coin change problem is to find the minimum number of coins required to get the sum S. This problem can be solved using . . . . . . . .
1 Mark(s)
Your Answer:
Greedy algorithm
Greedy algorithm
Dynamic programming
Dynamic programming
Divide and conquer
Divide and conquer
Backtracking
Backtracking
What will be the output of the following Java program? class increment { public static void main(String args[]) { double var1 = 1 + 5; double var2 = var1 / 4; int var3 = 1 + 5; int var4 = var3 / 4; System.out.print(var2 + " " + var4); } }
1 Mark(s)
Your Answer:
1 1
1 1
0 1
0 1
1.5 1
1.5 1
1.5 1.0
1.5 1.0
In R, what is the purpose of the repeat loop?
1 Mark(s)
Your Answer:
To repeat a block of code until a certain condition is met
To repeat a block of code until a certain condition is met
To repeat a block of code a specified number of times
To repeat a block of code a specified number of times
To repeat a block of code indefinitely
To repeat a block of code indefinitely
To repeat a block of code based on a specific condition
To repeat a block of code based on a specific condition
Which one of the following is valid for opening a read-only ASCII file?
1 Mark(s)
Your Answer:
fileOpen(filename, "r");
fileOpen(filename, "r");
fopen(filename, "ra");
fopen(filename, "ra");
fileOpne(filename, read);
fileOpne(filename, read);
fopen(filename, "read");
fopen(filename, "read");
fopen(filename, "r");
fopen(filename, "r");
Which of these class relies upon its subclasses for complete implementation of its methods?
1 Mark(s)
Your Answer:
Object class
Object class
abstract class
abstract class
ArrayList class
ArrayList class
None of the mentioned
None of the mentioned
Which data type value is returned by all transcendental math functions?
1 Mark(s)
Your Answer:
int
int
float
float
double
double
long
long
What data structure would you use for efficiently managing a set of time-ordered events?
1 Mark(s)
Your Answer:
Queue
Queue
Stack
Stack
Array
Array
Priority Queue
Priority Queue
CPU consists of following parts:
1 Mark(s)
Your Answer:
CU and main memory
CU and main memory
CU and ALU
CU and ALU
main memory and storage
main memory and storage
operating system and application
operating system and application
Which of the following is a result of poor design that could cause an accident in the workplace?
1 Mark(s)
Your Answer:
Equipment failure
Equipment failure
Slippery surfaces
Slippery surfaces
Insufficient lighting
Insufficient lighting
Unplanned workspace layout
Unplanned workspace layout
What is a pointer to a pointer known as in C++?
1 Mark(s)
Your Answer:
Reference pointer
Reference pointer
Pointer pointer
Pointer pointer
Double pointer
Double pointer
Nested pointer
Nested pointer
The circular wait condition can be prevented by defining a linear ordering of:
1 Mark(s)
Your Answer:
Program Type
Program Type
User Type
User Type
Resource Type
Resource Type
Process Type
Process Type
Which of the following is correct about operator precedence?
1 Mark(s)
Your Answer:
* has higher precedence than +
* has higher precedence than +
+ has higher precedence than *
+ has higher precedence than *
== has higher precedence than *
== has higher precedence than *
= has higher precedence than ==
= has higher precedence than ==
Which ribbon tab in MS Word contains options for changing the page layout and margins?
1 Mark(s)
Your Answer:
Home
Home
Insert
Insert
Page Layout
Page Layout
None of these
None of these
Number of types polymers have is:
1 Mark(s)
Your Answer:
4
4
5
5
6
6
7
7
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.