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
:
08
:
00
Q:
1
/
76
🤖
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 8
Exam Duration:
01:08:00
Cyber Security Mock Test 8
: Question
1
of 76
By default, all the files in C++ are opened in . . . . . . . . mode.
1 Mark(s)
Your Answer:
Text
Text
Binary
Binary
ISCII
ISCII
VTC
VTC
Road signs like 50 km/h are warning to drive in given:
1 Mark(s)
Your Answer:
area
area
speed limit
speed limit
direction
direction
distance
distance
Which tag is used for List items?
1 Mark(s)
Your Answer:
<li>
<li>
<ol>
<ol>
<ul>
<ul>
<dl>
<dl>
An expression involving byte, int, and literal numbers is promoted to which of these?
1 Mark(s)
Your Answer:
int
int
long
long
byte
byte
float
float
Period of revolution of Venus is:
1 Mark(s)
Your Answer:
11.9 y
11.9 y
0.615 y
0.615 y
1.88 y
1.88 y
1.00 y
1.00 y
Can 8 byte long data type be automatically type cast to 4 byte float data type?
1 Mark(s)
Your Answer:
True
True
False
False
Gold is often in a state of matter which is:
1 Mark(s)
Your Answer:
solid
solid
liquid
liquid
gas
gas
molten
molten
Which control is used to display a list of items in a scrollable window in a Windows Forms Application?
1 Mark(s)
Your Answer:
ComboBox
ComboBox
CheckedListBox
CheckedListBox
ListBox
ListBox
RichTextBox
RichTextBox
Converting a type to a 32-bit integer in C# uses:
1 Mark(s)
Your Answer:
ToInt32
ToInt32
ToDouble
ToDouble
ToDecimal
ToDecimal
ToInt16
ToInt16
An agreement between the communicating devices is represented by:
1 Mark(s)
Your Answer:
Sender
Sender
Receiver
Receiver
Protocol
Protocol
Transmission medium
Transmission medium
What is the correct way to access the length of an array named numbers in C#?
1 Mark(s)
Your Answer:
numbers.Length
numbers.Length
Length(numbers)
Length(numbers)
numbers.size()
numbers.size()
Length(numbers[])
Length(numbers[])
What will be the output of the following C++ code? #include <iostream> using namespace std; int main ( ) { static double i; i = 20; cout << sizeof(i); return 0; }
1 Mark(s)
Your Answer:
4
4
2
2
8
8
garbage
garbage
What is the primary purpose of the psych package in R?
1 Mark(s)
Your Answer:
Geospatial data analysis
Geospatial data analysis
Data manipulation and transformation
Data manipulation and transformation
Statistical analysis and visualization
Statistical analysis and visualization
Psychological and educational measurement
Psychological and educational measurement
The piece of information (data) to be communicated is known as:
1 Mark(s)
Your Answer:
Letter
Letter
Message
Message
Medium
Medium
Jitter
Jitter
Which of the following is included in SRS ?
1 Mark(s)
Your Answer:
Cost
Cost
Design Constraints
Design Constraints
Staffing
Staffing
Delivery Schedule
Delivery Schedule
For variable-length types like character arrays, two arguments of the connection call gives the:
1 Mark(s)
Your Answer:
Maximum length
Maximum length
Minimum length
Minimum length
Dependent length
Dependent length
Reflective length
Reflective length
What is the purpose of the Reverse operator in LINQ?
1 Mark(s)
Your Answer:
Sorts the elements of a sequence in ascending order based on a key
Sorts the elements of a sequence in ascending order based on a key
Filters a sequence based on a predicate
Filters a sequence based on a predicate
Projects each element of a sequence
Projects each element of a sequence
Reverses the order of the elements in a sequence
Reverses the order of the elements in a sequence
In Ruby, what is the purpose of the `redo` keyword?
1 Mark(s)
Your Answer:
Repeats the current iteration of the loop
Repeats the current iteration of the loop
Exits the loop
Exits the loop
Skips the current iteration of the loop
Skips the current iteration of the loop
Restarts the loop from the beginning
Restarts the loop from the beginning
Which of the following is NOT a valid HTML helper method in ASP.NET MVC?
1 Mark(s)
Your Answer:
Html.BeginForm()
Html.BeginForm()
Html.DropDownList()
Html.DropDownList()
Html.TextBox()
Html.TextBox()
Html.ExecuteAction()
Html.ExecuteAction()
Information kept about a file includes
1 Mark(s)
Your Answer:
print setting
print setting
deletion data
deletion data
Both A and B
Both A and B
size
size
What is the space complexity of Radix Sort?
1 Mark(s)
Your Answer:
O(n)
O(n)
O(k)
O(k)
O(1)
O(1)
O(n + k)
O(n + k)
A class defines the structure and:
1 Mark(s)
Your Answer:
behaviour
behaviour
property
property
attributes
attributes
functions
functions
Which of the following specifies the distance between the borders of adjacent cells?
1 Mark(s)
Your Answer:
border-spacing-cell
border-spacing-cell
border-width-spacing
border-width-spacing
border-spacing
border-spacing
cell-spacing
cell-spacing
The molecular formula for water is:
1 Mark(s)
Your Answer:
H2O
H2O
CO2
CO2
NaCl
NaCl
NaHCO3
NaHCO3
Choose the correct statements among the following:
1 Mark(s)
Your Answer:
An abstract method does not have implementation
An abstract method does not have implementation
An abstract method can take either static or virtual modifiers
An abstract method can take either static or virtual modifiers
An abstract method can be declared only in abstract class
An abstract method can be declared only in abstract class
All of the mentioned
All of the mentioned
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
Which of the following options is used to open calculator?
1 Mark(s)
Your Answer:
Start button ⟶ All Programs ⟶ Accessories ⟶ Calculator
Start button ⟶ All Programs ⟶ Accessories ⟶ Calculator
Start button ⟶ All Programs ⟶ Calculator
Start button ⟶ All Programs ⟶ Calculator
Start button ⟶ Accessories ⟶ Calculator
Start button ⟶ Accessories ⟶ Calculator
All of the above
All of the above
A metal used in the manufacturing of car batteries is known as:
1 Mark(s)
Your Answer:
copper
copper
gold
gold
lead
lead
Sulphur
Sulphur
Which of the following selector selects an element if it’s the only child of its parent?
1 Mark(s)
Your Answer:
:root
:root
:nth-oftype(n)
:nth-oftype(n)
:only-child
:only-child
none of the mentioned
none of the mentioned
Milk and curry left over can be turned into sour n spoiled at:
1 Mark(s)
Your Answer:
high temperature
high temperature
very low temperature
very low temperature
room temperature
room temperature
constant temperature
constant temperature
When the specimen comes in a broad focus, we should turn the knob of:
1 Mark(s)
Your Answer:
fine adjustment
fine adjustment
coarse adjustment
coarse adjustment
condenser lens
condenser lens
illumination
illumination
To start a slide show in PowerPoint we press _____?
1 Mark(s)
Your Answer:
F6
F6
F4
F4
F5
F5
None of these
None of these
What will be the output of the following Python code? s1={1, 2, 3} s2={3, 4, 5, 6} s1.difference(s2) s2.difference(s1)
1 Mark(s)
Your Answer:
{1, 2} {4, 5, 6}
{1, 2} {4, 5, 6}
{1, 2} {1, 2}
{1, 2} {1, 2}
{4, 5, 6} {1, 2}
{4, 5, 6} {1, 2}
{4, 5, 6} {4, 5, 6}
{4, 5, 6} {4, 5, 6}
What is the purpose of a let! block in RSpec?
1 Mark(s)
Your Answer:
Defines a memoized helper method that is executed before each example
Defines a memoized helper method that is executed before each example
Defines a memoized helper method that can be used in examples
Defines a memoized helper method that can be used in examples
Overrides the behavior of a method to return a specific value
Overrides the behavior of a method to return a specific value
Records the interactions between objects
Records the interactions between objects
A computer message is "Do you really want to delete the selected file (s)"? The user clicks 'Yes' key. It is called
1 Mark(s)
Your Answer:
program response
program response
user output
user output
user response
user response
program output
program output
Which STL container provides random access to elements and dynamic resizing?
1 Mark(s)
Your Answer:
vector
vector
list
list
set
set
map
map
The SQL -92 wildcards are ____ and ____ .
1 Mark(s)
Your Answer:
asterisk (*); percent sign (%)
asterisk (*); percent sign (%)
percent sign (%); underscore (_)
percent sign (%); underscore (_)
underscore(_); question mark (?)
underscore(_); question mark (?)
question mark (?); asterisk (*)
question mark (?); asterisk (*)
Which iterator is used to traverse a map container?
1 Mark(s)
Your Answer:
vector iterator
vector iterator
map iterator
map iterator
set iterator
set iterator
list iterator
list iterator
In block coding, we divide our message into blocks, is called:
1 Mark(s)
Your Answer:
code blocks
code blocks
packet blocks
packet blocks
code words
code words
datawords
datawords
"Hemoglobin "is a combination of:
1 Mark(s)
Your Answer:
carbohydrates and fats
carbohydrates and fats
carbohydrates and proteins
carbohydrates and proteins
fats and proteins
fats and proteins
proteins and iron
proteins and iron
Which operator is used for bitwise NOT in Java?
1 Mark(s)
Your Answer:
&
&
|
|
^
^
~
~
In HTML Audio/Video DOM, __________ returns a TextTrackList object representing the available text tracks.
1 Mark(s)
Your Answer:
readyState
readyState
startDate
startDate
videoTracks
videoTracks
textTracks
textTracks
HBase uses the . . . . . . . . File System to store its data.
1 Mark(s)
Your Answer:
Hive
Hive
Imphala
Imphala
Hadoop
Hadoop
Scala
Scala
FAST stands for___________________?
1 Mark(s)
Your Answer:
Functional Application Specification Technique
Functional Application Specification Technique
Fast Application Specification Technique
Fast Application Specification Technique
Facilitated Application Specification Technique
Facilitated Application Specification Technique
None of the mentioned
None of the mentioned
The default value in seconds in the system variable 'long_query_time' is . . . . . . . .
1 Mark(s)
Your Answer:
5
5
10
10
20
20
60
60
Which version introduced the function error_get_last()?
1 Mark(s)
Your Answer:
PHP 4
PHP 4
PHP 5
PHP 5
PHP 5.2
PHP 5.2
PHP 5.3
PHP 5.3
The term that provides the ability to query information from the database, is known as:
1 Mark(s)
Your Answer:
SQL DML
SQL DML
SQL DDL
SQL DDL
Embedded SQL
Embedded SQL
View definition
View definition
In NiFi, what is the role of the "DetectDuplicate" processor?
1 Mark(s)
Your Answer:
Join records from multiple tables
Join records from multiple tables
Group records based on a condition
Group records based on a condition
Sort records based on a column
Sort records based on a column
Identify and filter out duplicate data
Identify and filter out duplicate data
What is the auxiliary space complexity of Merge Sort?
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)
What is the purpose of the "delegate" keyword in C#?
1 Mark(s)
Your Answer:
Defines a new data type
Defines a new data type
Declares a class
Declares a class
Marks a method as virtual
Marks a method as virtual
Defines a reference type for methods
Defines a reference type for methods
What is the primary purpose of a constructor in a Ruby class?
1 Mark(s)
Your Answer:
To initialize instance variables
To initialize instance variables
To define class methods
To define class methods
To create new instances of the class
To create new instances of the class
To define getter and setter methods
To define getter and setter methods
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
Carbon dioxide gas 'CO2' has molar mass of:
1 Mark(s)
Your Answer:
32.0x10-3 kg/mol
32.0x10-3 kg/mol
64.1x10-3 kg/mol
64.1x10-3 kg/mol
44.0x10-3 kg/mol
44.0x10-3 kg/mol
2.02x10-3 kg/mol
2.02x10-3 kg/mol
The full-duplex mode increases the capacity of each domain from:
1 Mark(s)
Your Answer:
10 to 20 Mbps
10 to 20 Mbps
20 to 30 Mbps
20 to 30 Mbps
30 to 40 Mbps
30 to 40 Mbps
40 to 50 Mbps
40 to 50 Mbps
Which of the following is a sub string of "HELLOINDIA"?
1 Mark(s)
Your Answer:
HELL
HELL
LOIND
LOIND
HELD
HELD
LOND
LOND
Which of the following is not a valid identifier for a Java variable?
1 Mark(s)
Your Answer:
my_var
my_var
_myVar
_myVar
3rdVar
3rdVar
$var
$var
What is the maximum number of elements that can be held in a stack with a fixed size of 10?
1 Mark(s)
Your Answer:
10
10
11
11
9
9
Unlimited
Unlimited
How many bits can fit on a link with a 2 ms delay if the bandwidth of the link is 10Mbps?
1 Mark(s)
Your Answer:
200bits
200bits
20,000 bits
20,000 bits
200,000bits
200,000bits
2bits
2bits
The value of the checksum must be recalculated regardless of:
1 Mark(s)
Your Answer:
de-fragmentation
de-fragmentation
fragmentation
fragmentation
transfer
transfer
size
size
Which data structure is used to implement a recursive function?
1 Mark(s)
Your Answer:
Stack
Stack
Queue
Queue
Array
Array
Linked List
Linked List
In HBase, what does the term "Column Family" refer to?
1 Mark(s)
Your Answer:
A query language for HBase
A query language for HBase
A group of related columns
A group of related columns
A distributed file system
A distributed file system
None of the above
None of the above
Which attribute is not essential under <iframe>?
1 Mark(s)
Your Answer:
src
src
height
height
width
width
frameborder
frameborder
Is it allowed to make a PDF of the powerpoint presentation?
1 Mark(s)
Your Answer:
Yes
Yes
No
No
May be
May be
Can't say
Can't say
In C#, which method is used to create a new directory?
1 Mark(s)
Your Answer:
Directory.New()
Directory.New()
Directory.Make()
Directory.Make()
Directory.CreateNew()
Directory.CreateNew()
Directory.CreateDirectory()
Directory.CreateDirectory()
What does the '//' operator do when used with negative numbers?
1 Mark(s)
Your Answer:
Returns the positive quotient
Returns the positive quotient
Returns the negative quotient
Returns the negative quotient
Rounds down to the nearest integer
Rounds down to the nearest integer
Rounds up to the nearest integer
Rounds up to the nearest integer
Which of the following is the disadvantage of sparse matrices over normal matrices?
1 Mark(s)
Your Answer:
Size
Size
Speed
Speed
Easily compressible
Easily compressible
Algorithm complexity
Algorithm complexity
Which of the following is golden rule for interface design ?
1 Mark(s)
Your Answer:
Place the user in control
Place the user in control
Reduce the user’s memory load
Reduce the user’s memory load
Make the interface consistent
Make the interface consistent
All of the mentioned
All of the mentioned
Which of the following is NOT a valid ASP.NET component?
1 Mark(s)
Your Answer:
Model
Model
View
View
Controller
Controller
Service
Service
As the thread breaks, it is collected by:
1 Mark(s)
Your Answer:
aspirator
aspirator
remover
remover
collector
collector
evacuator
evacuator
The voice channels of the E-4 is:
1 Mark(s)
Your Answer:
30
30
120
120
480
480
1920
1920
What is the imaginary part of the complex number 3 + 4j ?
1 Mark(s)
Your Answer:
3
3
4
4
4j
4j
3j
3j
Which data structure is non-linear?
1 Mark(s)
Your Answer:
Array
Array
Stack
Stack
Tree
Tree
Queue
Queue
What will be the output of the following C code? #include <stdio.h> #include <stdlib.h> int main() { srand(9000); printf("%d\n", rand()); return 0; }
1 Mark(s)
Your Answer:
Compile time error
Compile time error
An integer in the range 0 to RAND_MAX
An integer in the range 0 to RAND_MAX
A double in the range 0 to 1
A double in the range 0 to 1
A float in the range 0 to 1
A float in the range 0 to 1
The comments in a program in the C language can extend over:?
1 Mark(s)
Your Answer:
only one line
only one line
several lines
several lines
two adjacent lines
two adjacent lines
All of the above Answer
All of the above Answer
What is the typical time complexity of decreasing a key in a min-heap?
1 Mark(s)
Your Answer:
O(1)
O(1)
O(log n)
O(log n)
O(n)
O(n)
O(n log n)
O(n log n)
Which of the following is equal to 4 bits?
1 Mark(s)
Your Answer:
Byte
Byte
Nibble
Nibble
Record
Record
All of the above
All of the above
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.