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
:
31
:
00
Q:
1
/
34
🤖
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 11
Exam Duration:
00:31:00
Java Programming Mock Test 11
: Question
1
of 34
A signal in which 1 bit lasts 0.001 s, the Bit rate would be:
1 Mark(s)
Your Answer:
1Kbps
1Kbps
500bps
500bps
5obps
5obps
1700bps
1700bps
The advantages of functions are::
1 Mark(s)
Your Answer:
making your code more readable
making your code more readable
you can use them to group related code together
you can use them to group related code together
code time is reduced
code time is reduced
debugging time is reduced
debugging time is reduced
What is the output of the following code snippet? x = 5 while x > 0 puts x x -= 1 end
1 Mark(s)
Your Answer:
54321
54321
12345
12345
Error
Error
Infinite loop
Infinite loop
Computers cannot communicate with each other directly over telephone lines because they use digital pulses whereas telephone lines use analog sound frequencies. What is the name of the device which permits digital to analog conversion at the start of a long distance transmission?
1 Mark(s)
Your Answer:
Interface
Interface
Modem
Modem
Attenuation
Attenuation
Teleprocessor
Teleprocessor
None of the above
None of the above
The things which give off light are called:
1 Mark(s)
Your Answer:
light sources
light sources
stores of light
stores of light
lamps
lamps
solar energy
solar energy
To access SQL from a general-purpose programming language, there are approaches of:
1 Mark(s)
Your Answer:
2 types
2 types
3 types
3 types
4 types
4 types
5 types
5 types
Which keyword is used to declare a class in C++?
1 Mark(s)
Your Answer:
object
object
typedef
typedef
class
class
struct
struct
Vlink attribute means?
1 Mark(s)
Your Answer:
very good link
very good link
visited link
visited link
active link
active link
virtual link
virtual link
What is the hash function used in the division method?
1 Mark(s)
Your Answer:
h(k) = k/m
h(k) = k/m
h(k) = k mod m
h(k) = k mod m
h(k) = m/k
h(k) = m/k
h(k) = m mod k
h(k) = m mod k
Defining the class:
1 Mark(s)
Your Answer:
creates object
creates object
doesn't creates object
doesn't creates object
creates variable
creates variable
creates function
creates function
If you omit the visibility keyword in your method declaration, by default the method will be declared as.
1 Mark(s)
Your Answer:
public
public
private
private
protected
protected
friendly
friendly
What is the purpose of the charAt() method of a String object in Java?
1 Mark(s)
Your Answer:
To add a character to the string
To add a character to the string
To remove a character from the string
To remove a character from the string
To get the character at a specific index
To get the character at a specific index
To get the length of the string
To get the length of the string
Which of the following is true about const pointer?
1 Mark(s)
Your Answer:
Pointer cannot change address it points to
Pointer cannot change address it points to
Value pointed by pointer cannot change
Value pointed by pointer cannot change
Both A and B
Both A and B
None
None
What is the purpose of using blocks and procs in Ruby?
1 Mark(s)
Your Answer:
To create new instances of classes
To create new instances of classes
To encapsulate and pass around chunks of code
To encapsulate and pass around chunks of code
To handle file input and output
To handle file input and output
None of the above
None of the above
Suppose listExample is ['h','e','l','l','o'], what is len(listExample)?
1 Mark(s)
Your Answer:
5
5
4
4
None
None
Error
Error
Which symbol creates a variable in PHP?
1 Mark(s)
Your Answer:
$
$
@
@
#
#
%
%
The full outer join is a combination of the:
1 Mark(s)
Your Answer:
Left outer and left inner join
Left outer and left inner join
Left outer and right inner join
Left outer and right inner join
left outer and right inner join
left outer and right inner join
left outer and right outer join
left outer and right outer join
You need to configure a router for a Frame Relay connection to a non-Cisco router. Which of the following commands will prepare the WAN interface of the router for this connection?
1 Mark(s)
Your Answer:
Router(config-if)#encapsulation frame-relay q933a
Router(config-if)#encapsulation frame-relay q933a
Router(config-if)#encapsulation frame-relay ansi
Router(config-if)#encapsulation frame-relay ansi
Router(config-if)#encapsulation frame-relay ietf
Router(config-if)#encapsulation frame-relay ietf
Router(config-if)#encapsulation frame-relay cisco
Router(config-if)#encapsulation frame-relay cisco
What is the speed of Gigabit Ethernet?
1 Mark(s)
Your Answer:
10 Mbps
10 Mbps
100 Mbps
100 Mbps
1000 Mbps
1000 Mbps
10 Gbps
10 Gbps
What is the 'Start' menu in a standard personal computer?
1 Mark(s)
Your Answer:
Hardware part
Hardware part
An option and set of commands
An option and set of commands
Nothing, only status bar
Nothing, only status bar
Network related
Network related
1st law of thermodynamic states that internal energy of system tends to increase if energy is:
1 Mark(s)
Your Answer:
subtracted as heat
subtracted as heat
added as heat
added as heat
added as electrons
added as electrons
constant
constant
Which keyword is used to exit a loop prematurely in C#?
1 Mark(s)
Your Answer:
continue
continue
skip
skip
exit
exit
break
break
A node sends its two-column routing table to its neighbors anytime there is a change in its routing table is known as:
1 Mark(s)
Your Answer:
particular protocol
particular protocol
periodic update
periodic update
particular frame
particular frame
triggered update
triggered update
The problem of concurrency control is more complex in a distributed database.
1 Mark(s)
Your Answer:
True
True
False
False
What will be output of the given code? my_array = [1, 2, 3, 4] print my_array
1 Mark(s)
Your Answer:
[1, 2, 3, 4].
[1, 2, 3, 4].
1234
1234
Error
Error
None of the mentioned
None of the mentioned
RAM can be treated as the____________for the computer’s processor?
1 Mark(s)
Your Answer:
factory
factory
operating room
operating room
waiting room
waiting room
planning room
planning room
The layer of computer OSI model which is concerned with addressing and routing is called:
1 Mark(s)
Your Answer:
network
network
data link
data link
physical
physical
transport
transport
What will be the output of the following C# code? static void Main(string[] args) { int i; for (i = 0; ; ) { Console.WriteLine("hello"); } Console.ReadLine(); }
1 Mark(s)
Your Answer:
No output
No output
hello
hello
hello printed infinite times
hello printed infinite times
Code will give error as expression syntax
Code will give error as expression syntax
Which graph describes the basic block and successor relationship?
1 Mark(s)
Your Answer:
Control graph
Control graph
DAG
DAG
Flow graph
Flow graph
Hamilton graph
Hamilton graph
Resistivity of Manganin is:
1 Mark(s)
Your Answer:
1.62x10-8 Ωm
1.62x10-8 Ωm
5.25x10-8 Ωm
5.25x10-8 Ωm
4.82x10-8 Ωm
4.82x10-8 Ωm
2.35x10-8 Ωm
2.35x10-8 Ωm
What is the purpose of the `reset()` method in Java regular expressions?
1 Mark(s)
Your Answer:
It counts the number of matches
It counts the number of matches
It checks if a string matches the pattern
It checks if a string matches the pattern
It resets the matcher
It resets the matcher
It compiles a regular expression
It compiles a regular expression
What is the purpose of the String#<< method in Ruby?
1 Mark(s)
Your Answer:
It inserts a substring into another string
It inserts a substring into another string
It converts a string into lowercase
It converts a string into lowercase
It converts a string into uppercase
It converts a string into uppercase
It appends a string to the end of another string
It appends a string to the end of another string
What is the default value of an integer variable in C# if not initialized explicitly?
1 Mark(s)
Your Answer:
null
null
-1
-1
0
0
1
1
. . . . . . . . class adds HBase configuration files to its object.
1 Mark(s)
Your Answer:
Configuration
Configuration
Collector
Collector
Component
Component
None of the mentioned
None of the mentioned
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.