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 1
Exam Duration:
01:00:00
Cyber Security Mock Test 1
: Question
1
of 67
How to declare the complex number?
1 Mark(s)
Your Answer:
(3, 4)
(3, 4)
complex(3, 4)
complex(3, 4)
(3, 4i)
(3, 4i)
(3, 4g)
(3, 4g)
Which method is used to add a number of months to a Date object in Ruby?
1 Mark(s)
Your Answer:
next_month
next_month
add_month
add_month
months_from_now
months_from_now
advance_months
advance_months
How do you install a Ruby Gem?
1 Mark(s)
Your Answer:
install gem_name
install gem_name
gem add gem_name
gem add gem_name
gem install gem_name
gem install gem_name
add gem_name
add gem_name
Which of these Exception handlers cannot be type parameterized?
1 Mark(s)
Your Answer:
catch
catch
throw
throw
throws
throws
all of the mentioned
all of the mentioned
What is a character class in regular expressions?
1 Mark(s)
Your Answer:
A set of characters enclosed in square brackets that matches any character in the set
A set of characters enclosed in square brackets that matches any character in the set
A built-in function
A built-in function
A specific character
A specific character
A special data type
A special data type
In order to reduce air and water resistance, objects are shaped in:
1 Mark(s)
Your Answer:
streamline
streamline
oblongata
oblongata
rectangular
rectangular
conical
conical
Technology used to read pencil or pen marks on a multiple choice answer sheet is:
1 Mark(s)
Your Answer:
OCR
OCR
OMR
OMR
POS
POS
OMR
OMR
GAC stands for:
1 Mark(s)
Your Answer:
Global Assembly Cache
Global Assembly Cache
Global Area Coverage
Global Area Coverage
Generic Artificial Creation
Generic Artificial Creation
Global Assembly Class
Global Assembly Class
How to calculate the run time of a code?
1 Mark(s)
Your Answer:
Start time – End time
Start time – End time
End time – Start time
End time – Start time
Start time/ End time
Start time/ End time
Start time * End time
Start time * End time
Switching in the Internet is done by using the datagram approach to packet switching at the:
1 Mark(s)
Your Answer:
network layer
network layer
application layer
application layer
data link layer
data link layer
physical layer.
physical layer.
What is the code snippet to find all container elements with class “reveal”?
1 Mark(s)
Your Answer:
var elements = document.getElementsByClassName("reveal");
var elements = document.getElementsByClassName("reveal");
var elements = document.getElementByClassName("reveal");
var elements = document.getElementByClassName("reveal");
var elements = document.getElementByName("reveal");
var elements = document.getElementByName("reveal");
var elements = document.getElementsClassName("reveal");
var elements = document.getElementsClassName("reveal");
Which of the following metal is the most reactive metal?
1 Mark(s)
Your Answer:
Sodium
Sodium
Potassium
Potassium
Gold
Gold
Aluminum
Aluminum
Which data structure is used to efficiently implement LRU (Least Recently Used) caching?
1 Mark(s)
Your Answer:
Queue
Queue
Stack
Stack
Binary Search Tree
Binary Search Tree
Doubly Linked List
Doubly Linked List
What is the value of the expression 10 / 3 in C#?
1 Mark(s)
Your Answer:
3.34
3.34
3.333...
3.333...
3
3
4
4
MS Word is mostly used for ______?
1 Mark(s)
Your Answer:
Creating documents
Creating documents
Letters
Letters
Assignments
Assignments
All of these
All of these
What is the time complexity of the enqueue operation in a queue implemented using a linked list?
1 Mark(s)
Your Answer:
O(1)
O(1)
O(n)
O(n)
O(log n)
O(log n)
O(n log n)
O(n log n)
Pick the correct statement about references in C++.
1 Mark(s)
Your Answer:
References stores the address of variables
References stores the address of variables
References and variables both have the same address
References and variables both have the same address
References use dereferencing operator(*) to access the value of variable its referencing
References use dereferencing operator(*) to access the value of variable its referencing
References were also available in C
References were also available in C
Suppose B is a subclass of A, to invoke the __init__ method in A from B, what is the line of code you should write?
1 Mark(s)
Your Answer:
A.__init__(self)
A.__init__(self)
B.__init__(self)
B.__init__(self)
A.__init__(B)
A.__init__(B)
B.__init__(A)
B.__init__(A)
How many classification schemes have been developed for NFRs ?
1 Mark(s)
Your Answer:
Two
Two
Three
Three
Four
Four
Five
Five
The Function ________ in Excel is used to look up information in a table and extract the corresponding data.
1 Mark(s)
Your Answer:
FETCH
FETCH
GET
GET
VLOOKUP
VLOOKUP
DATA
DATA
Which node is the parent node of Node 6?
1 Mark(s)
Your Answer:
1
1
5
5
2
2
3
3
GIF stands for ________?
1 Mark(s)
Your Answer:
Graphic Interchangeable File
Graphic Interchangeable File
Graphic Internet File
Graphic Internet File
Graphic Interchangeable Format
Graphic Interchangeable Format
Graphic Internet Format
Graphic Internet Format
What will be the output of the following C# code? enum days:int { sunday = -3, monday, tuesday } Console.WriteLine((int)days.sunday); Console.WriteLine((int)days.monday); Console.WriteLine((int)days.tuesday);
1 Mark(s)
Your Answer:
-3 0 1
-3 0 1
0 1 2
0 1 2
-3 -2 -1
-3 -2 -1
sunday monday tuesday
sunday monday tuesday
Which is the function that allows a worker to terminate itself?
1 Mark(s)
Your Answer:
close()
close()
exit()
exit()
terminate()
terminate()
halt()
halt()
Why do we need to use an onload event in the script tag after using the async attribute?
1 Mark(s)
Your Answer:
Invoke code during page loading
Invoke code during page loading
Invoke code during script loading
Invoke code during script loading
Invoke code during downloading
Invoke code during downloading
None of the mentioned
None of the mentioned
In Java, what is the primary purpose of the `PrintStream` class?
1 Mark(s)
Your Answer:
It is used to read binary data from a file
It is used to read binary data from a file
It is used to write binary data to a file
It is used to write binary data to a file
It is used to write formatted text to an output stream
It is used to write formatted text to an output stream
It is used to read text data from the keyboard
It is used to read text data from the keyboard
Which of the following are essentially required to make a business case for content marketing?
1 Mark(s)
Your Answer:
Industry best practices.
Industry best practices.
Objectives and KPIs.
Objectives and KPIs.
Impacts and challenges.
Impacts and challenges.
All of the above
All of the above
What is the procedure to add methods to HTMLElement so that they will be inherited by the objects that represent the HTML tags in the current document?
1 Mark(s)
Your Answer:
HTMLElement.prototype(…)
HTMLElement.prototype(…)
HTMLElement.prototype
HTMLElement.prototype
HTML.addmethods()
HTML.addmethods()
HTML.elements(add)
HTML.elements(add)
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
What will be the output of the following C# code? static void Main(string[] args) { int i = 2, j = 3, k = 4; switch (i + j - k) { case 0: case 2: case 4: ++i; k += j; break; case 1: case 3: case 5 : --i; k -= j; break; default: i += j; break; } Console.WriteLine(i + "\n" + j + "\n" + k); Console.ReadLine(); }
1 Mark(s)
Your Answer:
1 3 1
1 3 1
2 3 4
2 3 4
5 3 4
5 3 4
Compile time error
Compile time error
It is used to make fertilizers, lead-acid batteries, and in many industrial processes and is called:
1 Mark(s)
Your Answer:
zinc
zinc
gold
gold
lead
lead
Sulphur
Sulphur
What will be the output after the following program is compiled and executed? public class Test{ public static void main(String args[]){ int x = 10; x = myMethod(x--); System.out.print(x); } static int myMethod(final int x){ return x--; } }
1 Mark(s)
Your Answer:
The will compile successfully and display 9 as output.
The will compile successfully and display 9 as output.
The program will lead to compilation error.
The program will lead to compilation error.
The program will lead to runtime error.
The program will lead to runtime error.
The program will compile successfully and display 10 as output.
The program will compile successfully and display 10 as output.
None of these
None of these
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 does the RColorBrewer package in R provide?
1 Mark(s)
Your Answer:
Tools for working with big data using distributed computing
Tools for working with big data using distributed computing
Custom color palettes for data visualizations
Custom color palettes for data visualizations
Functions for creating and modifying interactive plots
Functions for creating and modifying interactive plots
Statistical hypothesis testing
Statistical hypothesis testing
An interactive system that allows analysts to view contrasting summaries of multi dimensional data, is known to be:
1 Mark(s)
Your Answer:
Offline Analytical Processing
Offline Analytical Processing
On-demand Analytical Processing
On-demand Analytical Processing
Online Analytical Processing
Online Analytical Processing
Object Analytical Processing
Object Analytical Processing
If a solid is required heating directly apparatus used will be:
1 Mark(s)
Your Answer:
pipette
pipette
burette
burette
crucible
crucible
retort stand
retort stand
What will be the output of the following Java code? class newthread extends Thread { Thread t; newthread() { t = new Thread(this,"My Thread"); t.start(); } public void run() { try { t.join() System.out.println(t.getName()); } catch(Exception e) { System.out.print("Exception"); } } } class multithreaded_programing { public static void main(String args[]) { new newthread(); } }
1 Mark(s)
Your Answer:
My Thread
My Thread
Thread[My Thread,5,main]
Thread[My Thread,5,main]
Exception
Exception
Runtime Error
Runtime Error
Process of finding the components of a vector is called:
1 Mark(s)
Your Answer:
finding the vector
finding the vector
resolving the vector
resolving the vector
projecting the vector
projecting the vector
portioning the vector
portioning the vector
__________ prevents search engines from following links inside the page
1 Mark(s)
Your Answer:
noarchive
noarchive
nofollow
nofollow
noindex
noindex
novalue
novalue
What will be the output of the following C# code? static void Main(string[] args) { int i = 0, j = 0; while (i < 2) { l1: i--; while (j < 2) { Console.WriteLine("hi\n"); goto l1; } } Console.ReadLine(); }
1 Mark(s)
Your Answer:
hi hi hi
hi hi hi
hi hi
hi hi
hi
hi
hi hi hi..... infinite times
hi hi hi..... infinite times
What does SAM stand for in the context of Functional Interface?
1 Mark(s)
Your Answer:
Single Ambivalue Method
Single Ambivalue Method
Single Abstract Method
Single Abstract Method
Simple Active Markup
Simple Active Markup
Simple Abstract Markup
Simple Abstract Markup
Automatic variables are initialized to . . . . . . . .
1 Mark(s)
Your Answer:
Zero
Zero
Junk value
Junk value
Nothing
Nothing
Both Zero & Junk value
Both Zero & Junk value
Which class is used to represent a group of characters in a regular expression in Java?
1 Mark(s)
Your Answer:
`Group`
`Group`
`Matcher`
`Matcher`
`CharacterGroup`
`CharacterGroup`
`Pattern`
`Pattern`
What is meant by the section of the real plane that the image coordinates have spanned?
1 Mark(s)
Your Answer:
Coordinate Axis
Coordinate Axis
Plane of Symmetry
Plane of Symmetry
Spatial Domain
Spatial Domain
None of the above
None of the above
What is a pointer arithmetic in C++?
1 Mark(s)
Your Answer:
Assigning arithmetic expressions to a pointer
Assigning arithmetic expressions to a pointer
Using pointers to perform arithmetic operations
Using pointers to perform arithmetic operations
Performing arithmetic operations on pointers
Performing arithmetic operations on pointers
Storing arithmetic operations in a pointer
Storing arithmetic operations in a pointer
Zookeeper keep track of the cluster state such as the . . . . . . . . table location.
1 Mark(s)
Your Answer:
DOMAIN
DOMAIN
NODE
NODE
ROOT
ROOT
All of the mentioned
All of the mentioned
A signal containing infinite bandwidth cannot be:
1 Mark(s)
Your Answer:
Transmitted
Transmitted
Converted
Converted
Sampled
Sampled
Quantized
Quantized
Telecommunication networks frequently interconnect an organization with its customers and suppliers. Select the best fit for answer:
1 Mark(s)
Your Answer:
Bandwidth alternatives
Bandwidth alternatives
Switching alternating
Switching alternating
Inter organizational networks
Inter organizational networks
Extranets
Extranets
Which of the following is not event method in jQuery?
1 Mark(s)
Your Answer:
click()
click()
mouseenter()
mouseenter()
mousedown()
mousedown()
hide()
hide()
Which of the following cell organelle is also called the 'suicide-bag' of the cells?
1 Mark(s)
Your Answer:
Xylem
Xylem
Lysosome
Lysosome
Cellulose
Cellulose
Mitochondria
Mitochondria
What will be the output of the following C++ code? #include <iostream> using namespace std; int f(int p, int q) { if (p > q) return p; else return q; } main() { int a = 5, b = 10; int k; bool x = true; bool y = f(a, b); k =((a * b) + (x + y)); cout << k; }
1 Mark(s)
Your Answer:
55
55
62
62
52
52
75
75
Which of the following does computing in a personal computer?
1 Mark(s)
Your Answer:
CPU
CPU
Motherboard
Motherboard
RAM
RAM
BIOS
BIOS
In which part of legume plants do nitrogen-fixing bacteria live?
1 Mark(s)
Your Answer:
A) Leaves
A) Leaves
B) Stems
B) Stems
C) Root nodules
C) Root nodules
D) Flowers
D) Flowers
In Python, how can you join two or more lists together?
1 Mark(s)
Your Answer:
+ operator
+ operator
concat()
concat()
join()
join()
merge()
merge()
What is the maximum cache size for Chrome?
1 Mark(s)
Your Answer:
unlimited
unlimited
300 MB
300 MB
400 MB
400 MB
1024 MB
1024 MB
What is the purpose of the Scale widget in Tkinter?
1 Mark(s)
Your Answer:
Displaying images
Displaying images
Creating message boxes
Creating message boxes
Handling user input
Handling user input
Selecting values from a range
Selecting values from a range
Which tool captures and analyzes network traffic?
1 Mark(s)
Your Answer:
Nmap
Nmap
Wireshark
Wireshark
Putty
Putty
Ping
Ping
The full form or varchar is equivalent to:
1 Mark(s)
Your Answer:
Character varying
Character varying
Variable character
Variable character
Charter varying
Charter varying
Variable charter
Variable charter
Period of rotation of Earth is:
1 Mark(s)
Your Answer:
23 h 56 min
23 h 56 min
37 days
37 days
26 days
26 days
2.3 days
2.3 days
The eyepiece contains a:
1 Mark(s)
Your Answer:
1X or 5X power lens
1X or 5X power lens
10X or 15X power lens
10X or 15X power lens
12X or 15X power lens
12X or 15X power lens
10X or 12X power lens
10X or 12X power lens
Technology helps us towards further:
1 Mark(s)
Your Answer:
hypothesis
hypothesis
discoveries
discoveries
verification
verification
analysis
analysis
Using the evaluation of prefix algorithm, evaluate +-9 2 7.
1 Mark(s)
Your Answer:
10
10
4
4
17
17
14
14
Magnetic material in which each atom has permanent magnetic dipole moment but dipole moments are randomly oriented and material as the whole lack magnetic field, is called:
1 Mark(s)
Your Answer:
Diamagnetic material
Diamagnetic material
Paramagnetic material
Paramagnetic material
Ferromagnetic material
Ferromagnetic material
Triamagnetic material
Triamagnetic material
A garbage collector is used:
1 Mark(s)
Your Answer:
To free the recycle bin.
To free the recycle bin.
To make sure that memory used by an application is freed when no longer in use.
To make sure that memory used by an application is freed when no longer in use.
To reuse the code in multiple applications
To reuse the code in multiple applications
Both b and c
Both b and c
Which of the following is not a state of object in Hibernate?
1 Mark(s)
Your Answer:
Attached()
Attached()
Detached()
Detached()
Persistent()
Persistent()
Transient()
Transient()
What will be the output of the following Java program? import java.lang.System; class Output { public static void main(String args[]) { byte a[] = { 65, 66, 67, 68, 69, 70 }; byte b[] = { 71, 72, 73, 74, 75, 76 }; System.arraycopy(a, 0, b, 3, a.length - 3); System.out.print(new String(a) + " " + new String(b)); } }
1 Mark(s)
Your Answer:
ABCDEF ABCDEF
ABCDEF ABCDEF
ABCDEF GHIJKL
ABCDEF GHIJKL
ABCDEF GHIABC
ABCDEF GHIABC
GHIJKL GHIJKL
GHIJKL GHIJKL
Which of the following sort a dataframe by the order of the elements in B?
1 Mark(s)
Your Answer:
x[rev(order(x$B)),]
x[rev(order(x$B)),]
x[ordersort(x$B),]
x[ordersort(x$B),]
x[order(x$B),]
x[order(x$B),]
x[rev(x$B),]
x[rev(x$B),]
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.