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
:
04
:
00
Q:
1
/
71
🤖
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 8
Exam Duration:
01:04:00
Kotlin Mock Test 8
: Question
1
of 71
Each router of a network address has:
1 Mark(s)
Your Answer:
1 address
1 address
2 addresses
2 addresses
3 addresses
3 addresses
4 addresses
4 addresses
What is the function of the IF function in Excel?
1 Mark(s)
Your Answer:
To perform a logical test and return a value based on the result
To perform a logical test and return a value based on the result
To add up a range of cells
To add up a range of cells
To find the average of a range of cells
To find the average of a range of cells
To count the number of cells in a range
To count the number of cells in a range
Processor that translates the source code into object code as a whole is called…
1 Mark(s)
Your Answer:
Assembler
Assembler
Linker
Linker
Compiler
Compiler
Debugger
Debugger
Name the method/methods used to read byte streams from the file?
1 Mark(s)
Your Answer:
ReadByte()
ReadByte()
Read
Read
Readkey()
Readkey()
None of the mentioned
None of the mentioned
What is the purpose of a step definition in Cucumber testing?
1 Mark(s)
Your Answer:
Provides a detailed report of test results
Provides a detailed report of test results
Describes the behavior of an application in plain text
Describes the behavior of an application in plain text
Maps a step in a feature file to a block of code that implements that step
Maps a step in a feature file to a block of code that implements that step
Specifies the requirements for a software feature
Specifies the requirements for a software feature
What is the maximum number of characters that can be held in the string variable char address line [40]?
1 Mark(s)
Your Answer:
38
38
39
39
40
40
41
41
Which data structure is used in a breadth-first traversal of a graph?
1 Mark(s)
Your Answer:
Stack
Stack
Queue
Queue
Array
Array
Linked List
Linked List
Which mode opens a file for writing, erasing previous content?
1 Mark(s)
Your Answer:
r
r
w
w
a
a
r+
r+
Multi-processor system gives a:
1 Mark(s)
Your Answer:
Small system
Small system
Tightly coupled system
Tightly coupled system
loosely coupled system
loosely coupled system
Macro system
Macro system
What does the R function read.csv() do?
1 Mark(s)
Your Answer:
Print the CSV file
Print the CSV file
Read data from a CSV file
Read data from a CSV file
Create a CSV file
Create a CSV file
Convert data to CSV format
Convert data to CSV format
Which of the following are the negative health effects of noise pollution?
1 Mark(s)
Your Answer:
Hypertension
Hypertension
Hearing loss
Hearing loss
Stress and headache
Stress and headache
All of the above
All of the above
State the complexity of algorithm given below. int function(vector<int> arr) int len=arr.length(); if(len==0) return; temp=arr[len-1]; arr.pop_back(); return temp;
1 Mark(s)
Your Answer:
o(n)
o(n)
O(logn)
O(logn)
O(1)
O(1)
O(n logn)
O(n logn)
What is the difference between TCP and UDP in networking?
1 Mark(s)
Your Answer:
TCP provides reliable, connection-oriented communication, while UDP provides unreliable, connectionless communication
TCP provides reliable, connection-oriented communication, while UDP provides unreliable, connectionless communication
TCP provides unreliable, connectionless communication, while UDP provides reliable, connection-oriented communication
TCP provides unreliable, connectionless communication, while UDP provides reliable, connection-oriented communication
TCP is faster than UDP
TCP is faster than UDP
UDP is more secure than TCP
UDP is more secure than TCP
Twist coefficients are determined by cotton:
1 Mark(s)
Your Answer:
twist
twist
strength
strength
length
length
characteristics
characteristics
Space between 2+5 or 2 + 5 is valid but =begin and = begin is not valid.
1 Mark(s)
Your Answer:
True
True
False
False
Locator function gives output as . . . . . . . .
1 Mark(s)
Your Answer:
Matrix
Matrix
Lists
Lists
Vector
Vector
Number
Number
What is the result of the following code in C#: string[] fruits = {"Apple", "Banana", "Orange"}; Console.WriteLine(fruits[1]);
1 Mark(s)
Your Answer:
Apple
Apple
Orange
Orange
Error
Error
Banana
Banana
Bellmann Ford algorithm was first proposed by . . . . . . . .
1 Mark(s)
Your Answer:
Richard Bellmann
Richard Bellmann
Alfonso Shimbe
Alfonso Shimbe
Lester Ford Jr
Lester Ford Jr
Edward F. Moore
Edward F. Moore
In induced noise, the impairment is created by sources like:
1 Mark(s)
Your Answer:
motor & appliances
motor & appliances
power lines
power lines
the sending and receiving antenna
the sending and receiving antenna
motion of electrons in wire
motion of electrons in wire
Which of the following is not a type of computer's memory ROM?
1 Mark(s)
Your Answer:
PROM
PROM
EPROM
EPROM
EEPROM
EEPROM
FPROM
FPROM
What will be the output of the following Python code? str = raw_input("Enter your input: "); print "Received input is : ", str
1 Mark(s)
Your Answer:
Enter your input: Hello Python Received input is : Hello Python
Enter your input: Hello Python Received input is : Hello Python
Enter your input: Hello Python Received input is : Hello
Enter your input: Hello Python Received input is : Hello
Enter your input: Hello Python Received input is : Python
Enter your input: Hello Python Received input is : Python
None of the mentioned
None of the mentioned
In Excel which shortcut key is used to go to the formula tab?
1 Mark(s)
Your Answer:
Alt+M
Alt+M
Ctrl+M
Ctrl+M
Ctrl+C
Ctrl+C
Ctrl+B
Ctrl+B
Inverse operation of logarithm is:
1 Mark(s)
Your Answer:
expansion
expansion
differentiation
differentiation
integration
integration
exponential
exponential
Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
1 Mark(s)
Your Answer:
Onhalt
Onhalt
Onerror
Onerror
Both onhalt and onerror
Both onhalt and onerror
None of the mentioned
None of the mentioned
Kafka is comparable to traditional messaging systems such as . . . . . . . .
1 Mark(s)
Your Answer:
Impala
Impala
ActiveMQ
ActiveMQ
BigTop
BigTop
Zookeeper
Zookeeper
The purpose of the flower is to attract insects for pollination and fertilization, so that they can build:
1 Mark(s)
Your Answer:
seeds
seeds
cells
cells
tissues
tissues
roots
roots
What will be the output of the following C# code snippet? { delegate void A(ref string str); class sample { public static void fun( ref string a) { a = a.Substring( 7, a.Length - 7); } } class Program { static void Main(string[] args) { A str1; string str = "Test Your C#.net skills"; str1 = sample.fun; str1(ref str); Console.WriteLine(str); } } }
1 Mark(s)
Your Answer:
Test Your
Test Your
ur C#.NET
ur C#.NET
ur C#.NET Skills
ur C#.NET Skills
None of the mentioned
None of the mentioned
What does this code do? Code: @media only screen and (orientation: landscape) { body { background-color: lightblue; } }
1 Mark(s)
Your Answer:
web page will have a lighblue background if the orientation is in landscape mode
web page will have a lighblue background if the orientation is in landscape mode
web page will have a lighblue background if the orientation is not in landscape mode
web page will have a lighblue background if the orientation is not in landscape mode
web page will have a red background if the orientation is in landscape mode
web page will have a red background if the orientation is in landscape mode
None of the mentioned
None of the mentioned
What will be the output of the following Java code? import java.io.*; class streams { public static void main(String[] args) { try { FileOutputStream fos = new FileOutputStream("serial"); ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeInt(5); oos.flush(); oos.close(); } catch(Exception e) { System.out.println("Serialization" + e); System.exit(0); } try { int z; FileInputStream fis = new FileInputStream("serial"); ObjectInputStream ois = new ObjectInputStream(fis); z = ois.readInt(); ois.close(); System.out.println(x); } catch (Exception e) { System.out.print("deserialization"); System.exit(0); } } }
1 Mark(s)
Your Answer:
5
5
void
void
serialization
serialization
deserialization
deserialization
A pointer is a memory address. Suppose the pointer variable has p address 1000, and that p is declared to have type int*, and an int is 4 bytes long. What address is represented by expression p + 2?
1 Mark(s)
Your Answer:
1002
1002
1004
1004
1006
1006
1008
1008
What is the key difference between a complete binary tree and a full binary tree?
1 Mark(s)
Your Answer:
A complete binary tree is filled completely at all levels except possibly the last, while a full binary tree has all nodes with either 0 or 2 children.
A complete binary tree is filled completely at all levels except possibly the last, while a full binary tree has all nodes with either 0 or 2 children.
A full binary tree is filled completely at all levels except possibly the last, while a complete binary tree has all nodes with either 0 or 2 children.
A full binary tree is filled completely at all levels except possibly the last, while a complete binary tree has all nodes with either 0 or 2 children.
A complete binary tree has only one level, while a full binary tree has multiple levels.
A complete binary tree has only one level, while a full binary tree has multiple levels.
There is no difference.
There is no difference.
Choose the one that is not an ASP.net page event:
1 Mark(s)
Your Answer:
Init
Init
load
load
import
import
invoke
invoke
Kernel mode of operating system runs when the mode bit is:
1 Mark(s)
Your Answer:
1
1
0
0
x
x
undefined
undefined
What is the output of the given code? length=gets.chomp case length.length when length=4 print "length is 4" when length=5 print "length is 5" end
1 Mark(s)
Your Answer:
ruby length is 4
ruby length is 4
ruby length is 5
ruby length is 5
abc length is 4
abc length is 4
syntax error
syntax error
What is the best definition of topology in networking?
1 Mark(s)
Your Answer:
The physical layout of connected devices
The physical layout of connected devices
The speed of the network
The speed of the network
The type of cables used
The type of cables used
The software used for network management
The software used for network management
In JSP, what is the role of the `` action?
1 Mark(s)
Your Answer:
To forward the request to another resource
To forward the request to another resource
To define JavaBean properties
To define JavaBean properties
To execute SQL queries
To execute SQL queries
To create JavaBeans
To create JavaBeans
How do we declare an ‘interface’ class?
1 Mark(s)
Your Answer:
By making all the methods pure virtual in a class
By making all the methods pure virtual in a class
By making all the methods abstract using the keyword ‘abstract’ in a class
By making all the methods abstract using the keyword ‘abstract’ in a class
By declaring the class as interface with the keyword ‘interface’
By declaring the class as interface with the keyword ‘interface’
It is not possible to create interface class in C++
It is not possible to create interface class in C++
Which operator is used for logical NOT in Java?
1 Mark(s)
Your Answer:
!
!
&&
&&
||
||
~
~
______ is NOT a logical function. SUM, AND, OR, NOT
1 Mark(s)
Your Answer:
SUM
SUM
AND
AND
OR
OR
NOT
NOT
Which of the following has eccentricity of 0.0086?
1 Mark(s)
Your Answer:
Mercury
Mercury
Neptune
Neptune
Earth
Earth
Mars
Mars
What is the purpose of garbage collection?
1 Mark(s)
Your Answer:
Removes object with many reference
Removes object with many reference
Removes object with reference
Removes object with reference
Removes object with invalid reference
Removes object with invalid reference
Removes object with no reference
Removes object with no reference
Which of the following is not an action query?
1 Mark(s)
Your Answer:
add
add
delete
delete
make-table
make-table
update
update
HDFS supports the . . . . . . . . command to fetch Delegation Token and store it in a file on the local system.
1 Mark(s)
Your Answer:
fetdt
fetdt
fetchdt
fetchdt
fsk
fsk
rec
rec
The method of communication in which transmission takes place in both directions, but only one direction at a time is called
1 Mark(s)
Your Answer:
Simplex
Simplex
Four wire circuit
Four wire circuit
Full Duplex
Full Duplex
Half Duplex
Half Duplex
Multiple namespaces cannot be defined in the same file.
1 Mark(s)
Your Answer:
TRUE
TRUE
FALSE
FALSE
Given the pseudo code, state whether the function for merging of two heap is correct or not? mergeTree(p,q) if p.root.value <= q.root.value return p.addTree(q) else return q.addTree(p)
1 Mark(s)
Your Answer:
True
True
False
False
Which of the following is a technique used to detect conflicts between concurrent transactions?
1 Mark(s)
Your Answer:
Checkpointing
Checkpointing
Deadlock detection
Deadlock detection
Two-Phase Commit
Two-Phase Commit
Write-Ahead Logging
Write-Ahead Logging
In a computer, ISP stands for:
1 Mark(s)
Your Answer:
international service provider
international service provider
internet service provider
internet service provider
interlinked services provision
interlinked services provision
intranet's service party
intranet's service party
Most intimately involved program with the hardware is:
1 Mark(s)
Your Answer:
spreadsheet
spreadsheet
operating system
operating system
word processors
word processors
compilers
compilers
The mechanical breakdown of food is due to:
1 Mark(s)
Your Answer:
hydrochloric acid
hydrochloric acid
pepsin
pepsin
chewing
chewing
peristalsis
peristalsis
In cellular telephony, for forward and reverse communication, the system uses two separate:
1 Mark(s)
Your Answer:
digital signals
digital signals
analog systems
analog systems
digital data
digital data
analog channels
analog channels
What does the binmode method do in Ruby file I/O?
1 Mark(s)
Your Answer:
Sets the file mode to text mode
Sets the file mode to text mode
Sets the file mode to read-only mode
Sets the file mode to read-only mode
Sets the file mode to write-only mode
Sets the file mode to write-only mode
Sets the file mode to binary mode
Sets the file mode to binary mode
Which computer memory is used for storing programs and data currently being processed by the CPU?
1 Mark(s)
Your Answer:
Internal memory
Internal memory
Mass memory
Mass memory
Non-volatile memory
Non-volatile memory
PROM Answer
PROM Answer
String literal "\r"is used for:
1 Mark(s)
Your Answer:
Vertical tab
Vertical tab
Horizontal tab
Horizontal tab
Newline
Newline
Carriage return
Carriage return
What is the method used to access instance 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
In which of the following form the computer stores its data in memory?
1 Mark(s)
Your Answer:
Hexadecimal form
Hexadecimal form
Octal form
Octal form
Binary form
Binary form
Decimal form
Decimal form
Differential equations generally represent:
1 Mark(s)
Your Answer:
Dynamic system
Dynamic system
Static system
Static system
Continuous system
Continuous system
Constant system
Constant system
Electronic commerce is a process of:
1 Mark(s)
Your Answer:
sharing of business information
sharing of business information
maintaining business relationship
maintaining business relationship
conducting business transactions
conducting business transactions
all of these
all of these
How do you create a violin plot in ggplot2 for a numerical variable named values grouped by a factor variable group?
1 Mark(s)
Your Answer:
geom_violin(x = group, y = values)
geom_violin(x = group, y = values)
geom_violin(mapping = aes(x = group, y = values))
geom_violin(mapping = aes(x = group, y = values))
violin_plot(group, values)
violin_plot(group, values)
geom_violin(aes(x = group, y = values))
geom_violin(aes(x = group, y = values))
Automatic Reasoning tool is used in_____.
1 Mark(s)
Your Answer:
Personal Computers
Personal Computers
Microcomputers
Microcomputers
LISP Machines
LISP Machines
All of the above
All of the above
Which command will show you the summary of the NAT configuration?
1 Mark(s)
Your Answer:
show ip nat translations
show ip nat translations
show ip nat statistics
show ip nat statistics
debug ip nat
debug ip nat
clear ip nat translations *
clear ip nat translations *
Which of the following multiplexing technique shifts each signal to a different carrier frequency?
1 Mark(s)
Your Answer:
flow control
flow control
timer
timer
error solution
error solution
flow specification
flow specification
DVD Stands For:__________?
1 Mark(s)
Your Answer:
Digital Versatile Disk
Digital Versatile Disk
Digital Versatile Drive
Digital Versatile Drive
Digital volume disk
Digital volume disk
Digital Video drive
Digital Video drive
What does os.fchmod(fd, mode) do?
1 Mark(s)
Your Answer:
change permission bits of the file
change permission bits of the file
change permission bits of the directory
change permission bits of the directory
change permission bits of either the file or the directory
change permission bits of either the file or the directory
none of the mentioned
none of the mentioned
Tendency of matter to change in shape, area, and volume in response to a change in a particular temperature is called:
1 Mark(s)
Your Answer:
nonlinear expansion
nonlinear expansion
electrical expansion
electrical expansion
thermal expansion
thermal expansion
mechanical expansion
mechanical expansion
The digital signals cannot be transmitted directly to the channel, when the channel is:
1 Mark(s)
Your Answer:
High-pass
High-pass
Baseband
Baseband
Bandpass
Bandpass
Low-pass
Low-pass
What does the Android system use for status data?
1 Mark(s)
Your Answer:
Content provider
Content provider
Intents
Intents
Network
Network
None of these
None of these
Which method is used to separate cream from milk?
1 Mark(s)
Your Answer:
A) Handpicking
A) Handpicking
B) Sieving
B) Sieving
C) Centrifugation
C) Centrifugation
D) Magnetic separation
D) Magnetic separation
Gemini is available in how many languages?
1 Mark(s)
Your Answer:
0
0
25
25
46
46
60
60
What is the purpose of the 'foreach' loop in C#?
1 Mark(s)
Your Answer:
Performs a conditional iteration
Performs a conditional iteration
Terminates the loop
Terminates the loop
Iterates over elements in a collection
Iterates over elements in a collection
Executes a block of code repeatedly
Executes a block of code repeatedly
In most database systems, schemas are also created automatically when:
1 Mark(s)
Your Answer:
Environment is created
Environment is created
Catalog is created
Catalog is created
Database is retrieved
Database is retrieved
User accounts are created
User accounts are created
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.