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
:
42
:
00
Q:
1
/
47
🤖
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 17
Exam Duration:
00:42:00
Java Programming Mock Test 17
: Question
1
of 47
Which of the following is/are the property of SVG images?
1 Mark(s)
Your Answer:
SVG images are scalable
SVG images are scalable
SVG images are zoomable
SVG images are zoomable
SVG is an open standard
SVG is an open standard
All of the mentioned
All of the mentioned
Which of these classes is used to access actual bits or content information of a URL?
1 Mark(s)
Your Answer:
URL
URL
URLDecoder
URLDecoder
URLConnection
URLConnection
All of the mentioned
All of the mentioned
In C, which control structure allows you to define a block of code to be executed in response to a specific event or condition?
1 Mark(s)
Your Answer:
for loop
for loop
if statement
if statement
switch case
switch case
function
function
What is the result of 2 * 3 % 4 ?
1 Mark(s)
Your Answer:
0
0
1
1
2
2
3
3
Which of the following is an example of a system software?
1 Mark(s)
Your Answer:
Windows 7
Windows 7
MS Word 2010
MS Word 2010
MS PowerPoint 2010
MS PowerPoint 2010
Openoffice Writer
Openoffice Writer
What is the primary function of the Hadoop Secondary NameNode in a Hadoop cluster?
1 Mark(s)
Your Answer:
Manage task execution in MapReduce jobs
Manage task execution in MapReduce jobs
Execute MapReduce jobs
Execute MapReduce jobs
Backup for the NameNode
Backup for the NameNode
Manage computation resources
Manage computation resources
In ASP.NET if one uses Windows authentication the current request attaches an object called as_______________?
1 Mark(s)
Your Answer:
WindowsPrincipal
WindowsPrincipal
WindowDatset
WindowDatset
Serialization
Serialization
None of the Above
None of the Above
An array elements are always stored in ________ memory locations.
1 Mark(s)
Your Answer:
Sequential
Sequential
Random
Random
Sequential and Random
Sequential and Random
None of the above
None of the above
The task of performing operations like arithmetic and logical operations is called____________?
1 Mark(s)
Your Answer:
Processing
Processing
Storing
Storing
Editing
Editing
Sorting
Sorting
In the memory hierarchy the fastest memory is?
1 Mark(s)
Your Answer:
Cache
Cache
SRAM
SRAM
Registers
Registers
DRAM
DRAM
'Oxygen' is taken from:
1 Mark(s)
Your Answer:
cells to lungs
cells to lungs
heart to lungs
heart to lungs
lungs to cells
lungs to cells
cells to heart
cells to heart
What will be the output of the following Python code snippet? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert('Ball') insert('Apple') print (len(total))
1 Mark(s)
Your Answer:
3
3
1
1
2
2
0
0
Prim's Algorithm finds:
1 Mark(s)
Your Answer:
MST
MST
Shortest Path
Shortest Path
Flow
Flow
Cut
Cut
Which of the following is not an advantage of Fibonacci Search?
1 Mark(s)
Your Answer:
When the element being searched for has a non uniform access storage
When the element being searched for has a non uniform access storage
It can be applied efficiently on unsorted arrays
It can be applied efficiently on unsorted arrays
Can be used for large arrays which do not fit in the CPU cache or in the RAM
Can be used for large arrays which do not fit in the CPU cache or in the RAM
Can be used in magnetic tapes
Can be used in magnetic tapes
A large number of interlinked chains in an ecosystem together forms a:
1 Mark(s)
Your Answer:
Nitrogen cycle
Nitrogen cycle
Carbon cycle
Carbon cycle
Food web
Food web
Food chain
Food chain
What is the log in which data changes received from a replication master server are written?
1 Mark(s)
Your Answer:
error log
error log
general query log
general query log
binary log
binary log
relay log
relay log
Microsoft Word (MS Word) was launched/released in which year?
1 Mark(s)
Your Answer:
1981
1981
1982
1982
1983
1983
1984
1984
In order to tell Excel that we are entering a formula in cell, we must begin with an operator such as
1 Mark(s)
Your Answer:
$
$
@
@
+
+
=
=
#
#
A CPU contains___________?
1 Mark(s)
Your Answer:
a card reader and a printing device
a card reader and a printing device
an analytical engine and a control unit
an analytical engine and a control unit
a control unit and an arithmetic logic unit
a control unit and an arithmetic logic unit
an arithmetic logic unit and a card reader
an arithmetic logic unit and a card reader
Database applications are seldom intended for use by a single user.
1 Mark(s)
Your Answer:
True
True
False
False
The functions of C# have the following properties:
1 Mark(s)
Your Answer:
Functions can not be nested
Functions can not be nested
Functions can be called recursively.
Functions can be called recursively.
If we do not return a value from a function then a value -1 gets returned.
If we do not return a value from a function then a value -1 gets returned.
both b and c
both b and c
Which command brings you to the first slide in your presentation?
1 Mark(s)
Your Answer:
Next slide button
Next slide button
Page up
Page up
Ctrl + Home
Ctrl + Home
Ctrl + End
Ctrl + End
Abstract class cannot have a constructor.
1 Mark(s)
Your Answer:
True
True
False
False
The method that performs the search-and-replace operation to strings for pattern matching is
1 Mark(s)
Your Answer:
searchandreplace()
searchandreplace()
add()
add()
edit()
edit()
replace()
replace()
Which of the following should be true of the object thrown by a thrown statement?
1 Mark(s)
Your Answer:
Should be assignable to String type
Should be assignable to String type
Should be assignable to Exception type
Should be assignable to Exception type
Should be assignable to Throwable type
Should be assignable to Throwable type
Should be assignable to Error type
Should be assignable to Error type
What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { int *p; void *vp; if (vp == p) cout
1 Mark(s)
Your Answer:
equal
equal
no output
no output
compile error
compile error
runtime error
runtime error
File paths are not used for linking in . . . . . . . .
1 Mark(s)
Your Answer:
JavaScripts
JavaScripts
PHP
PHP
Style Sheets
Style Sheets
Images
Images
What does a pointer variable store?
1 Mark(s)
Your Answer:
Value
Value
Memory Address
Memory Address
Variable Name
Variable Name
Data Type
Data Type
Which one of the following is not a client server application?
1 Mark(s)
Your Answer:
Internet chat
Internet chat
Web browsing
Web browsing
E-mail
E-mail
ping
ping
To measure shorter lengths with their accurate reading we use:
1 Mark(s)
Your Answer:
measuring tapes
measuring tapes
meter ruler
meter ruler
Vernier caliper
Vernier caliper
all of them
all of them
The conversion characters d, i, o, u, and x may be preceded by h in scanf() to indicate?
1 Mark(s)
Your Answer:
A pointer to short
A pointer to short
A pointer to long
A pointer to long
Nothing
Nothing
Error
Error
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x, y in d.items(): print(x, y)
1 Mark(s)
Your Answer:
0 1 2
0 1 2
a b c
a b c
0 a 1 b 2 c
0 a 1 b 2 c
none of the mentioned
none of the mentioned
What threatens the quality and timeliness of the software to be produced ?
1 Mark(s)
Your Answer:
Known risks
Known risks
Business risks
Business risks
Project risks
Project risks
Technical risks
Technical risks
Moment of inertia is also known as:
1 Mark(s)
Your Answer:
angular mass
angular mass
linear mass
linear mass
acceleration mass
acceleration mass
transnational mass
transnational mass
Which of the following is not event method in jQuery?
1 Mark(s)
Your Answer:
click()
click()
mouseenter()
mouseenter()
mousedown()
mousedown()
hide()
hide()
New Windows, Arrange All & Split are options in which of the following Tab?
1 Mark(s)
Your Answer:
Reference Tab
Reference Tab
View Tab
View Tab
Review Tab
Review Tab
Layout Tab
Layout Tab
Materials which allow only some light to pass through them are called as:
1 Mark(s)
Your Answer:
transparent materials
transparent materials
translucent material
translucent material
opaque materials
opaque materials
abstract materials
abstract materials
Which of the following is not a name for an item that could be a security threat to your computer?
1 Mark(s)
Your Answer:
Trojan horse
Trojan horse
metacrawler
metacrawler
worm
worm
virus
virus
In LINQ, what does the LastOrDefault operator do?
1 Mark(s)
Your Answer:
Returns the first element of a sequence that satisfies a condition
Returns the first element of a sequence that satisfies a condition
Returns the only element of a sequence that satisfies a condition, or a default value if no such element is found
Returns the only element of a sequence that satisfies a condition, or a default value if no such element is found
Returns the last element of a sequence that satisfies a condition, or a default value if no such element is found
Returns the last element of a sequence that satisfies a condition, or a default value if no such element is found
Returns the number of elements in a sequence
Returns the number of elements in a sequence
In Java syntax ; comma means:
1 Mark(s)
Your Answer:
end of statement
end of statement
terminate the statement
terminate the statement
start next line of code
start next line of code
separate consecutive identifiers in a variable declaration
separate consecutive identifiers in a variable declaration
The `static` block in Java executes:
1 Mark(s)
Your Answer:
Class load time
Class load time
Object creation time
Object creation time
Method call
Method call
Program end
Program end
The outer white coat of the eyeball is known as:
1 Mark(s)
Your Answer:
sclera
sclera
choroid
choroid
vitreous humour
vitreous humour
pupil
pupil
What are the Sequence Containers?
1 Mark(s)
Your Answer:
Containers that implements data structures which can be accessed sequentially
Containers that implements data structures which can be accessed sequentially
Containers that implements sorted data structures for fast search in O(logn)
Containers that implements sorted data structures for fast search in O(logn)
Containers that implements unsorted(hashed) data structures for quick search in O(1)
Containers that implements unsorted(hashed) data structures for quick search in O(1)
Containers that implements data structures which can be accessed non-sequentially
Containers that implements data structures which can be accessed non-sequentially
Computer bus with 64 lines can carry:
1 Mark(s)
Your Answer:
32bits
32bits
64bits
64bits
16bits
16bits
8bits
8bits
What is the output of the given code? if 1>2 puts "false" else puts "True"
1 Mark(s)
Your Answer:
False
False
True
True
Syntax error
Syntax error
None of the mentioned
None of the mentioned
The opening screen for Windows and the place where you begin your work using the computer is called:
1 Mark(s)
Your Answer:
task pane
task pane
dialog box
dialog box
desktop
desktop
insertion point
insertion point
Which model assumes that systems are created from reusable components, scripting or database programming ?
1 Mark(s)
Your Answer:
An application-composition model
An application-composition model
A post-architecture model
A post-architecture model
A reuse model
A reuse model
An early design model
An early design model
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.