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
:
58
:
00
Q:
1
/
64
🤖
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.
Java Programming Mock Test 12
Exam Duration:
00:58:00
Java Programming Mock Test 12
: Question
1
of 64
What happens if the values of scaling factors sx and sy less than 1 (i.e., sx<1 and sy<1)?
1 Mark(s)
Your Answer:
No change in the object's size
No change in the object's size
Reduce the object's size
Reduce the object's size
Increase the object's size
Increase the object's size
None of the above
None of the above
Which of the following operations is used to add an element to the end of a queue?
1 Mark(s)
Your Answer:
Enqueue
Enqueue
Dequeue
Dequeue
Peek
Peek
Push
Push
The updated queue configuration should be a valid one i.e. queue-capacity at each level should be equal to . . . . . . . .
1 Mark(s)
Your Answer:
50%
50%
75%
75%
100%
100%
0%
0%
Technically, energy is a:
1 Mark(s)
Your Answer:
vector quantity
vector quantity
scalar quantity
scalar quantity
infinite quantity
infinite quantity
unit vector
unit vector
As the specimen is in perfect focus, we should turn the knob of:
1 Mark(s)
Your Answer:
turret
turret
fine adjustment
fine adjustment
coarse focus
coarse focus
condenser lens
condenser lens
In the old-time, a user was connected to the Internet with a:
1 Mark(s)
Your Answer:
ISP
ISP
ADSL
ADSL
DSL
DSL
dial up line
dial up line
Which mode allows us to run program interactively while watching source code and variables during execution?
1 Mark(s)
Your Answer:
safe mode
safe mode
debug mode
debug mode
successfully run mode
successfully run mode
exception mode
exception mode
State true or false. Google Chrome has its own task manager, which allows you to view and manage your memory and CPU usage”
1 Mark(s)
Your Answer:
True
True
False
False
What does the IndexOf() method return if the specified value is not found in an array in C#?
1 Mark(s)
Your Answer:
0
0
Null
Null
FALSE
FALSE
-1
-1
Which is the additional command line option is available in Hive 0.10.0?
1 Mark(s)
Your Answer:
-database <dbname>
-database <dbname>
-db <dbname>
-db <dbname>
-dbase <<dbname>
-dbase <<dbname>
All of the mentioned
All of the mentioned
In which data structure is the concept of "weighted union" used?
1 Mark(s)
Your Answer:
Stack
Stack
Heap
Heap
Union-Find
Union-Find
Binary Search Tree
Binary Search Tree
What is the purpose of the TempData dictionary in ASP.NET MVC?
1 Mark(s)
Your Answer:
To store application-wide settings
To store application-wide settings
To pass data between controller actions
To pass data between controller actions
To handle authentication
To handle authentication
None of the above
None of the above
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 data structure is ideal for implementing a navigation system or route planning?
1 Mark(s)
Your Answer:
Heap
Heap
Array
Array
Linked List
Linked List
Graph
Graph
In ∂/∂x(un),where un is constant, is equals to:
1 Mark(s)
Your Answer:
nun-1∂/∂x
nun-1∂/∂x
nun-1∂/∂x
nun-1∂/∂x
nun∂u⁄∂x
nun∂u⁄∂x
0
0
Which of the following specifies what parts of an element’s content are skipped over when applying any text decoration?
1 Mark(s)
Your Answer:
@font-text
@font-text
font-style
font-style
text-skip
text-skip
text-decoration-skip
text-decoration-skip
In PC, which shortcut key is used to open Windows Task Manager?
1 Mark(s)
Your Answer:
Ctrl+Esc
Ctrl+Esc
Ctrl+Shift+Esc
Ctrl+Shift+Esc
Alt+F4
Alt+F4
Alt+Enter Answer
Alt+Enter Answer
What happens if a pointer is deleted twice in a program as shown in the following C++ statements? int *ptr = new int; delete ptr; delete ptr;
1 Mark(s)
Your Answer:
Undefined behaviour
Undefined behaviour
Syntactically incorrect
Syntactically incorrect
Semantically incorrect
Semantically incorrect
The program runs perfectly
The program runs perfectly
What does the R function median() compute?
1 Mark(s)
Your Answer:
Median of a numeric vector
Median of a numeric vector
Mean of a numeric vector
Mean of a numeric vector
Standard deviation of a numeric vector
Standard deviation of a numeric vector
Sum of a numeric vector
Sum of a numeric vector
Turing Machine was invented by:
1 Mark(s)
Your Answer:
Alan Turing
Alan Turing
Von Neumann
Von Neumann
Chomsky
Chomsky
Dijkstra
Dijkstra
What is one or more software configuration items that have been formally reviewed and agreed upon and serve as a basis for further development ?
1 Mark(s)
Your Answer:
Configuration
Configuration
Baseline
Baseline
Software
Software
All of the mentioned
All of the mentioned
What will be the output of the following PHP code ? <?php "Hello World" ?>
1 Mark(s)
Your Answer:
Error
Error
Hello World
Hello World
Nothing
Nothing
Missing semicolon error
Missing semicolon error
In OSI model, as the data packet moves from the lower to upper layer headers are
1 Mark(s)
Your Answer:
added
added
removed
removed
rearranged
rearranged
All
All
What does the 'S' in HTTPS stand for?
1 Mark(s)
Your Answer:
Standard
Standard
Secure
Secure
System
System
Simple
Simple
Which method is used to check if a variable is nil in Ruby?
1 Mark(s)
Your Answer:
.is_nil?
.is_nil?
.nil?
.nil?
.empty?
.empty?
.null?
.null?
What is deserialization?
1 Mark(s)
Your Answer:
Turning object in memory into stream of bytes
Turning object in memory into stream of bytes
Turning stream of bytes into an object in memory
Turning stream of bytes into an object in memory
Turning object in memory into stream of bits
Turning object in memory into stream of bits
Turning stream of bits into an object in memory
Turning stream of bits into an object in memory
Which of the following language feature is not an access specifier in C++?
1 Mark(s)
Your Answer:
public
public
private
private
C protected
C protected
internal
internal
Frequency of wave is defined as:
1 Mark(s)
Your Answer:
Ω/2π
Ω/2π
Ωπ
Ωπ
2 Ωπ
2 Ωπ
π/2 Ω
π/2 Ω
When the Depth First Search of a graph is unique?
1 Mark(s)
Your Answer:
When the graph is a Binary Tree
When the graph is a Binary Tree
When the graph is a Linked List
When the graph is a Linked List
When the graph is a n-ary Tree
When the graph is a n-ary Tree
When the graph is a ternary Tree
When the graph is a ternary Tree
What is the purpose of the Time.now method in Ruby?
1 Mark(s)
Your Answer:
Returns the current time as the number of milliseconds since the Unix epoch
Returns the current time as the number of milliseconds since the Unix epoch
Returns the current time as the number of seconds since the Unix epoch
Returns the current time as the number of seconds since the Unix epoch
Returns the current time as a string
Returns the current time as a string
Returns the current time as a Time object
Returns the current time as a Time object
The shift ciphers sometimes referred to as the:
1 Mark(s)
Your Answer:
Caesar cipher
Caesar cipher
Julia cipher
Julia cipher
plain cipher
plain cipher
XOR cipher
XOR cipher
Which of the following below is /are a valid iterator type?
1 Mark(s)
Your Answer:
Input Iterator
Input Iterator
Backward Iterator
Backward Iterator
Forward Iterator
Forward Iterator
Both a and c above
Both a and c above
What does the term "enqueue" refer to in a queue data structure?
1 Mark(s)
Your Answer:
Removing an element from the front
Removing an element from the front
Adding an element to the back
Adding an element to the back
Retrieving the element at the front
Retrieving the element at the front
Clearing all elements from the queue
Clearing all elements from the queue
The correct abbreviation of ROI is __________.
1 Mark(s)
Your Answer:
Risk on investment
Risk on investment
Return on income
Return on income
Risk on income
Risk on income
Return on investment
Return on investment
I/O modules performs the requested action on:
1 Mark(s)
Your Answer:
Programmed I/O
Programmed I/O
Direct Memory Access (DMA)
Direct Memory Access (DMA)
Interrupt driven I/O
Interrupt driven I/O
I/O devices
I/O devices
In C, what is the purpose of the 'void' keyword as a function return type?
1 Mark(s)
Your Answer:
It specifies that the function doesn't return a value
It specifies that the function doesn't return a value
It specifies that the function returns an integer
It specifies that the function returns an integer
It specifies that the function returns a character
It specifies that the function returns a character
It specifies that the function is recursive
It specifies that the function is recursive
What is output of print(math.pow(3, 2))?
1 Mark(s)
Your Answer:
9.0
9.0
None
None
9
9
None of the mentioned
None of the mentioned
In C#, what is the purpose of the Action delegate?
1 Mark(s)
Your Answer:
Represents a delegate that encapsulates a method that takes no parameters and does not return a value
Represents a delegate that encapsulates a method that takes no parameters and does not return a value
Represents a delegate that encapsulates a method that takes no parameters and returns a value
Represents a delegate that encapsulates a method that takes no parameters and returns a value
Represents a delegate that encapsulates a method that has two parameters and returns a value
Represents a delegate that encapsulates a method that has two parameters and returns a value
Represents a delegate that can encapsulate a method with a single parameter and does not return a value
Represents a delegate that can encapsulate a method with a single parameter and does not return a value
Which of the following is not an exception handling keyword in Python?
1 Mark(s)
Your Answer:
try
try
except
except
accept
accept
finally
finally
Page Up, Page Down, Delete, Insert, and Arrow keys are known as _______?
1 Mark(s)
Your Answer:
Navigation Keys
Navigation Keys
Control Keys
Control Keys
Function Keys
Function Keys
None of these
None of these
What is the purpose of the `Map.Entry` interface in the Java Collections Framework?
1 Mark(s)
Your Answer:
It provides methods for hashing elements
It provides methods for hashing elements
It represents a synchronized collection
It represents a synchronized collection
It defines a comparison function for ordering elements
It defines a comparison function for ordering elements
It represents a key-value pair in a map
It represents a key-value pair in a map
A transmission media can have signal impairment because of:
1 Mark(s)
Your Answer:
noise
noise
attenuation
attenuation
distortion
distortion
all of above
all of above
Eight-bit code that defines 256 symbols, is:
1 Mark(s)
Your Answer:
EBCDIC
EBCDIC
ASCII
ASCII
Unicode
Unicode
Extended ASCII
Extended ASCII
What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { int a = 5, b = 6, c; c = (a > b) ? a : b; cout << c; return 0; }
1 Mark(s)
Your Answer:
6
6
5
5
4
4
7
7
A signal containing infinite bandwidth cannot be:
1 Mark(s)
Your Answer:
Transmitted
Transmitted
Converted
Converted
Sampled
Sampled
Quantized
Quantized
Which of the following phases occur simultaneously?
1 Mark(s)
Your Answer:
Shuffle and Sort
Shuffle and Sort
Reduce and Sort
Reduce and Sort
Shuffle and Map
Shuffle and Map
All of the mentioned
All of the mentioned
A linear Synchronous Optical Networking (SONET) network can be:
1 Mark(s)
Your Answer:
point to point
point to point
multi point
multi point
multilevel point
multilevel point
both a and b
both a and b
Virtualization allows:
1 Mark(s)
Your Answer:
Multiple OS on one hardware
Multiple OS on one hardware
Faster internet
Faster internet
Better graphics
Better graphics
Secure email
Secure email
Clause that causes the tuples in the result of a query to appear in sorted order, is said to be:
1 Mark(s)
Your Answer:
The Like clause
The Like clause
AS IN clause
AS IN clause
Define clause
Define clause
Order By clause
Order By clause
In LINQ, what does the Max operator do?
1 Mark(s)
Your Answer:
Returns the average value of a sequence
Returns the average value of a sequence
Returns the sum of all values in a sequence
Returns the sum of all values in a sequence
Returns the maximum value in a sequence
Returns the maximum value in a sequence
Returns the minimum value in a sequence
Returns the minimum value in a sequence
Which one of the following is actually considered as the first computer virus?
1 Mark(s)
Your Answer:
Sasser
Sasser
Blaster
Blaster
Creeper
Creeper
Both A and C
Both A and C
Phase constant is also known as:
1 Mark(s)
Your Answer:
phase angle
phase angle
oblique angle
oblique angle
linear angle
linear angle
right angle
right angle
Any data or instruction entered into the memory of a computer is considered as
1 Mark(s)
Your Answer:
Storage
Storage
Output
Output
Input
Input
Information
Information
None of these
None of these
In R, how do you create a list named my_list with three elements: 1, "hello", and TRUE?
1 Mark(s)
Your Answer:
my_list <- c(1, "hello", TRUE)
my_list <- c(1, "hello", TRUE)
my_list = list(1, "hello", TRUE)
my_list = list(1, "hello", TRUE)
my_list(1, "hello", TRUE)
my_list(1, "hello", TRUE)
list(my_list = c(1, "hello", TRUE))
list(my_list = c(1, "hello", TRUE))
Total energy is the negative of kinetic energy when orbit is:
1 Mark(s)
Your Answer:
circular
circular
elliptical
elliptical
rectangular
rectangular
triangular
triangular
What is the purpose of the Hadoop MapReduce "Combiner Optimization" in advanced MapReduce?
1 Mark(s)
Your Answer:
Combine intermediate key-value pairs on the mapper side
Combine intermediate key-value pairs on the mapper side
Aggregate values on the reducer side
Aggregate values on the reducer side
Sort and shuffle data
Sort and shuffle data
Distribute data to reducers
Distribute data to reducers
The process of conversion of water into its vapours is called
1 Mark(s)
Your Answer:
A) evaporation
A) evaporation
B) condensation
B) condensation
C) guttation
C) guttation
D) transpiration
D) transpiration
. . . . . . . . is a generalization of the facility provided by the MapReduce framework to collect data output by the Mapper or the Reducer.
1 Mark(s)
Your Answer:
Partitioner
Partitioner
OutputCollector
OutputCollector
Reporter
Reporter
All of the mentioned
All of the mentioned
What will be the output of the following Python code? >>> a={1,2,3} >>> b=a.add(4) >>> b
1 Mark(s)
Your Answer:
0
0
{1,2,3,4}
{1,2,3,4}
{1,2,3}
{1,2,3}
Nothing is printed
Nothing is printed
Which radiation is mainly responsible for photosynthesis?
1 Mark(s)
Your Answer:
A) UV rays
A) UV rays
B) Gamma rays
B) Gamma rays
C) Visible light from the Sun
C) Visible light from the Sun
D) X-rays
D) X-rays
What will be the output of the following C++ code? #include <iostream> using namespace std; int main () { int a, b; a = 10; b = 4; a = b; b = 7; cout << "a:"; cout << a; cout << " b:"; cout << b; return 0; }
1 Mark(s)
Your Answer:
a:4 b:7
a:4 b:7
a:10 b:4
a:10 b:4
a:4 b:10
a:4 b:10
a:4 b:6
a:4 b:6
If statement is a sort of:
1 Mark(s)
Your Answer:
assignment statement
assignment statement
repitative statement
repitative statement
conditional statement
conditional statement
iterative statement
iterative statement
Data communications system depends on four fundamental characteristics
1 Mark(s)
Your Answer:
Receiver
Receiver
Sender
Sender
Timeliness
Timeliness
Medium
Medium
Which of the following is the storage area within the computer itself which holds data only temporarily as the computer processes instruction ?
1 Mark(s)
Your Answer:
the hard disk
the hard disk
main memory
main memory
the control unit
the control unit
read only memory
read only memory
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.