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
/
56
🤖
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 3
Exam Duration:
00:50:00
Cyber Security Mock Test 3
: Question
1
of 56
What does the 'fgets' function in C do?
1 Mark(s)
Your Answer:
Reads a line of text from a file
Reads a line of text from a file
Reads a single character from the standard input
Reads a single character from the standard input
Compares two strings
Compares two strings
Converts a string to an integer
Converts a string to an integer
Which statement is most scientifically correct?
1 Mark(s)
Your Answer:
A) Science proves everything permanently
A) Science proves everything permanently
B) Science explains everything completely
B) Science explains everything completely
C) Science improves understanding through testing
C) Science improves understanding through testing
D) Science depends on authority
D) Science depends on authority
Present day computers are based on __________?
1 Mark(s)
Your Answer:
Along technology
Along technology
Hybrid technology
Hybrid technology
Digital technology
Digital technology
none of the above
none of the above
What multicast addresses does RIPng use?
1 Mark(s)
Your Answer:
FF02::A
FF02::A
FF02::9
FF02::9
FF02::5
FF02::5
FF02::6
FF02::6
Who is known as the -Father of AI"?
1 Mark(s)
Your Answer:
Fisher Ada
Fisher Ada
Alan Turing
Alan Turing
John McCarthy
John McCarthy
Allen Newell
Allen Newell
Who can access Session state variables ?
1 Mark(s)
Your Answer:
All users within a single tunnel
All users within a single tunnel
All Users of an application
All Users of an application
A Single session
A Single session
All of the above
All of the above
Which company is owned by Bill Gates?
1 Mark(s)
Your Answer:
Twitter
Twitter
Facebook
Facebook
YouTube
YouTube
Microsoft
Microsoft
None of these
None of these
What will be the output of the following C# code? static void Main(string[] args) { byte b1 = 0 * AB; byte b2 = 0 * 99; byte temp; temp = (byte) ~b2; Console.Write( temp + " "); temp = (byte) (b1 << b2); Console.Write(temp + " "); temp = (byte)(b2 >> 2); Console.WriteLine(temp); Console.ReadLine(); }
1 Mark(s)
Your Answer:
101 0 34
101 0 34
103 2 38
103 2 38
102 0 38
102 0 38
101 1 35
101 1 35
Which of the following is not guided as computer communication media?
1 Mark(s)
Your Answer:
twisted pair cables
twisted pair cables
fiber optic cables
fiber optic cables
coaxial cables
coaxial cables
satellite
satellite
A process does not contain:
1 Mark(s)
Your Answer:
function parameters
function parameters
local variables
local variables
return addresses
return addresses
PID of child process
PID of child process
Which of these class must be used to send a datagram packets over a connection?
1 Mark(s)
Your Answer:
InetAdress
InetAdress
DatagramPacket
DatagramPacket
DatagramSocket
DatagramSocket
All of the mentioned
All of the mentioned
What is the content of stack pointer (SP)?
1 Mark(s)
Your Answer:
Address of the top element in the stack
Address of the top element in the stack
Address of current instruction
Address of current instruction
Address of next instruction
Address of next instruction
None of the above
None of the above
In distance vector routing, sharing of information in the routing table means sharing:
1 Mark(s)
Your Answer:
the whole table
the whole table
only one column
only one column
two columns
two columns
three columns
three columns
Sugar can dissolve in water forming:
1 Mark(s)
Your Answer:
sugar solution
sugar solution
salty solution
salty solution
aqueous solution
aqueous solution
mixture
mixture
The predicate in the clause which can be an arbitrary predicate, is said to be:
1 Mark(s)
Your Answer:
Check clause
Check clause
Select clause
Select clause
Where clause
Where clause
Alter clause
Alter clause
What is the difference between r+ and w+ modes?
1 Mark(s)
Your Answer:
no difference
no difference
in r+ the pointer is initially placed at the beginning of the file and the pointer is at the end for w+
in r+ the pointer is initially placed at the beginning of the file and the pointer is at the end for w+
in w+ the pointer is initially placed at the beginning of the file and the pointer is at the end for r+
in w+ the pointer is initially placed at the beginning of the file and the pointer is at the end for r+
depends on the operating system
depends on the operating system
External devices that are connected to a computer system are known as:
1 Mark(s)
Your Answer:
expansion cards
expansion cards
peripheral devices
peripheral devices
buses
buses
slots
slots
The process of finding errors in code is called:
1 Mark(s)
Your Answer:
Compiling
Compiling
Debugging
Debugging
Executing
Executing
Running
Running
Running multiple programs at the same time is called:
1 Mark(s)
Your Answer:
Multitasking
Multitasking
Foreground tasking
Foreground tasking
Single tasking
Single tasking
Symmetric
Symmetric
What is the purpose of Hadoop ZooKeeper in the architecture?
1 Mark(s)
Your Answer:
Data ingestion
Data ingestion
Configuration management
Configuration management
Real-time data processing
Real-time data processing
Resource management
Resource management
Which of the following is incorrect about digital marketing?
1 Mark(s)
Your Answer:
Digital marketing can only be done offline
Digital marketing can only be done offline
Digital marketing cannot be done offline.
Digital marketing cannot be done offline.
Digital marketing requires electronic devices for promoting goods and services.
Digital marketing requires electronic devices for promoting goods and services.
In general, digital marketing can be understood as online marketing, web marketing, and e-mail marketing.
In general, digital marketing can be understood as online marketing, web marketing, and e-mail marketing.
What is the result of 10 + 2 * 6 / 3 ?
1 Mark(s)
Your Answer:
14
14
16
16
8
8
12
12
What is the primary purpose of the `@PostConstruct` annotation in Java EE applications?
1 Mark(s)
Your Answer:
To define JavaBean properties
To define JavaBean properties
To execute SQL queries
To execute SQL queries
To specify a method to be executed after an instance is created and its dependencies are injected
To specify a method to be executed after an instance is created and its dependencies are injected
To create JavaBeans
To create JavaBeans
The 'technique' which is used in water treatment plants, is:
1 Mark(s)
Your Answer:
distillation
distillation
filtration
filtration
evaporation
evaporation
fractional distillation
fractional distillation
Agile methodology emphasizes:
1 Mark(s)
Your Answer:
Customer feedback
Customer feedback
Documentation
Documentation
Rigid planning
Rigid planning
Contract negotiation
Contract negotiation
Evaluate the following statement using infix evaluation algorithm and choose the correct answer. 1+2*3-2
1 Mark(s)
Your Answer:
3
3
6
6
5
5
4
4
Potential energy per unit charge at point in electric field is called:
1 Mark(s)
Your Answer:
electric potential
electric potential
magnetic potential
magnetic potential
thermal potential
thermal potential
optical potential
optical potential
What is the effect of increasing the size of a hash table on performance?
1 Mark(s)
Your Answer:
It generally reduces the load factor and collisions.
It generally reduces the load factor and collisions.
It increases the load factor and collisions.
It increases the load factor and collisions.
It decreases memory usage.
It decreases memory usage.
It does not affect performance.
It does not affect performance.
In computer, ALU has____________?
1 Mark(s)
Your Answer:
2units
2units
3units
3units
4units
4units
5units
5units
In a Class A IP address, how many octets represent the network?
1 Mark(s)
Your Answer:
1
1
2
2
3
3
4
4
What is the sizeof(void) in a 32-bit C?
1 Mark(s)
Your Answer:
0
0
1
1
2
2
4
4
Substance that continually deforms under an applied shear stress is:
1 Mark(s)
Your Answer:
fluid
fluid
gas
gas
solid
solid
silicon
silicon
The microdata model consists of groups of name-value pairs known as
1 Mark(s)
Your Answer:
Item
Item
Property
Property
Value
Value
URL
URL
Pick the correct statement regarding pickle and marshal modules.
1 Mark(s)
Your Answer:
The pickle module supports primarily .pyc files whereas marshal module is used to sterilize Python objects
The pickle module supports primarily .pyc files whereas marshal module is used to sterilize Python objects
The pickle module keeps track of the objects that have already been sterilized whereas the marshal module does not do this
The pickle module keeps track of the objects that have already been sterilized whereas the marshal module does not do this
The pickle module cannot be used to sterilize user defined classes and their instances whereas marshal module can be used to perform this task
The pickle module cannot be used to sterilize user defined classes and their instances whereas marshal module can be used to perform this task
The format of sterilization of the pickle module is not guaranteed to be supported across all versions of Python. The marshal module sterilization is compatible across all the versions of Python
The format of sterilization of the pickle module is not guaranteed to be supported across all versions of Python. The marshal module sterilization is compatible across all the versions of Python
Which of the following is NOT a valid C# comment style?
1 Mark(s)
Your Answer:
/**/
/**/
//
//
/* */
/* */
#
#
No library function will store a zero in errno.
1 Mark(s)
Your Answer:
true
true
false
false
The mechanism to protect private networks from outside attack is called:
1 Mark(s)
Your Answer:
Cyber Crime
Cyber Crime
Search Engine
Search Engine
Browser
Browser
Firewall
Firewall
Antivirus
Antivirus
An idealized mathematical model of a pendulum is:
1 Mark(s)
Your Answer:
Gravity pendulum
Gravity pendulum
Tension pendulum
Tension pendulum
Torison pendulum
Torison pendulum
Spring pendulum
Spring pendulum
In R, which package is commonly used for conducting statistical hypothesis tests?
1 Mark(s)
Your Answer:
stats
stats
hypotest
hypotest
hypothesis
hypothesis
infer
infer
The symbol that can be used in the select clause to denote 'all attributes', is:
1 Mark(s)
Your Answer:
_
_
^
^
&
&
*
*
How do you access class variables in Ruby?
1 Mark(s)
Your Answer:
Using accessor methods
Using accessor methods
Using instance methods
Using instance methods
Using class methods
Using class methods
Using global variables
Using global variables
Growth restriction is also known as:
1 Mark(s)
Your Answer:
growth of straight order
growth of straight order
growth of exponential order
growth of exponential order
growth of step order
growth of step order
growth of impulse order
growth of impulse order
Air is a mixture that makes up the:
1 Mark(s)
Your Answer:
season
season
atmosphere
atmosphere
clouds
clouds
temperature
temperature
The final destination of the packet is a host connected to the same physical network as the deliverer in the:
1 Mark(s)
Your Answer:
direct delivery
direct delivery
indirect delivery
indirect delivery
urgent delivery
urgent delivery
delayed delivery
delayed delivery
What is the purpose of the DefaultIfEmpty operator in LINQ?
1 Mark(s)
Your Answer:
Returns the number of elements in a sequence
Returns the number of elements in a sequence
Returns a default value if a sequence is empty
Returns a default value if a sequence is empty
Returns a specific element from a sequence
Returns a specific element from a sequence
None of the above
None of the above
Which of the following modifier means a particular variable cannot be accessed within the package?
1 Mark(s)
Your Answer:
private
private
public
public
protected
protected
default
default
How can the Hadoop block size affect job performance?
1 Mark(s)
Your Answer:
Larger blocks can improve data locality
Larger blocks can improve data locality
Smaller blocks lead to faster processing
Smaller blocks lead to faster processing
Block size has no impact on job performance
Block size has no impact on job performance
Larger blocks cause increased network traffic
Larger blocks cause increased network traffic
The events that is emulated by the jQuery library are
1 Mark(s)
Your Answer:
focusarea and focusover
focusarea and focusover
focusall and focusnone
focusall and focusnone
focusdown and focusup
focusdown and focusup
focusin and focusout
focusin and focusout
What is the difference between an object and a class in C++?
1 Mark(s)
Your Answer:
A class and an object are the same thing
A class and an object are the same thing
A class represents a specific instance, whereas an object represents a general template
A class represents a specific instance, whereas an object represents a general template
A class is a blueprint for creating objects, whereas an object is an instance of a class
A class is a blueprint for creating objects, whereas an object is an instance of a class
An object is a blueprint for creating classes, whereas a class is an instance of an object
An object is a blueprint for creating classes, whereas a class is an instance of an object
To write a relational query, the statement that is used is:
1 Mark(s)
Your Answer:
Select cursor statement
Select cursor statement
Define cursor statement
Define cursor statement
Declare cursor statement
Declare cursor statement
Create cursor statement
Create cursor statement
What is an interface in Java?
1 Mark(s)
Your Answer:
A contract specifying a set of methods that a class must implement
A contract specifying a set of methods that a class must implement
A class that cannot be instantiated
A class that cannot be instantiated
A class that contains only static methods
A class that contains only static methods
A subclass of the Object class
A subclass of the Object class
What will be the output of the following Java code? class box { int width; int height; int length; int volume; box() { width = 5; height = 5; length = 6; } void volume() { volume = width*height*length; } } class constructor_output { public static void main(String args[]) { box obj = new box(); obj.volume(); System.out.println(obj.volume); } }
1 Mark(s)
Your Answer:
100
100
150
150
200
200
250
250
Which of the following PHP functions can be used for generating unique id’s?
1 Mark(s)
Your Answer:
uniqueid()
uniqueid()
id()
id()
md5()
md5()
mdid()
mdid()
Which indicator is used for similarity between two sets?
1 Mark(s)
Your Answer:
Rope Tree
Rope Tree
Jaccard Coefficient
Jaccard Coefficient
Tango Tree
Tango Tree
MinHash Coefficient
MinHash Coefficient
The database system stores the query expression associated with the:
1 Mark(s)
Your Answer:
View
View
View definition
View definition
View relation
View relation
View schema
View schema
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
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.