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
:
39
:
00
Q:
1
/
43
🤖
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.
C Sharp .NET Mock Test 8
Exam Duration:
00:39:00
C Sharp .NET Mock Test 8
: Question
1
of 43
Analyze the following code: public class Test implements Runnable{ public static void main(String[] args){ Test t = new Test(); } public Test(){ Thread t = new Thread(this); t.start(); } public void run(){ System.out.println("test"); } }
1 Mark(s)
Your Answer:
The program has a compilation error because t is defined in both the main() method and the constructor Test().
The program has a compilation error because t is defined in both the main() method and the constructor Test().
The program compiles fine, but it does not run because you cannot use the keyword this in the constructor.
The program compiles fine, but it does not run because you cannot use the keyword this in the constructor.
The program compiles and runs and displays nothing.
The program compiles and runs and displays nothing.
The program compiles and runs and displays test.
The program compiles and runs and displays test.
The details of different levels of an attribute can be organized in to a:
1 Mark(s)
Your Answer:
Symmetry
Symmetry
Asymmetry
Asymmetry
Hierarchy
Hierarchy
Chart
Chart
Which of the following correctly defines the term "Discovery"?
1 Mark(s)
Your Answer:
It is hidden within a database and can only be recovered if one is given certain clues (an example IS encrypted information).
It is hidden within a database and can only be recovered if one is given certain clues (an example IS encrypted information).
An extremely complex molecule that occurs in human chromosomes and that carries genetic information in the form of genes.
An extremely complex molecule that occurs in human chromosomes and that carries genetic information in the form of genes.
It is a kind of process of executing implicit, previously unknown and potentially useful information from data
It is a kind of process of executing implicit, previously unknown and potentially useful information from data
None of the above
None of the above
How do you change the font of a widget's text in Tkinter?
1 Mark(s)
Your Answer:
font.set("NewFont")
font.set("NewFont")
widget.font("NewFont")
widget.font("NewFont")
widget.configure(font="NewFont")
widget.configure(font="NewFont")
widget.set_font("NewFont")
widget.set_font("NewFont")
In C++, what is the default access specifier for a base class when inheriting?
1 Mark(s)
Your Answer:
private
private
public
public
protected
protected
friend
friend
A wave by which sound is propagated in an elastic medium such as air is called:
1 Mark(s)
Your Answer:
microwave
microwave
standing wave
standing wave
sound wave
sound wave
mechanical wave
mechanical wave
The numbering system is one of the prominent features of:
1 Mark(s)
Your Answer:
UDP
UDP
TCP
TCP
TCP/IP
TCP/IP
IP
IP
What is the size of an integer data type in ruby?
1 Mark(s)
Your Answer:
-230 to 230
-230 to 230
-230 to 2(30-1)
-230 to 2(30-1)
-229 to 230
-229 to 230
-260 to 261
-260 to 261
Which of the following is not a file operation:
1 Mark(s)
Your Answer:
Repositioning
Repositioning
Truncating
Truncating
Appending
Appending
None of above
None of above
In Internet Protocol Version (IPv4), the service type of the service in the header field, the first 3 bits are called:
1 Mark(s)
Your Answer:
type of service
type of service
code bits
code bits
sync bits
sync bits
precedence bits
precedence bits
False drafts occur due to:
1 Mark(s)
Your Answer:
excessive friction
excessive friction
tension
tension
lengthing
lengthing
all of above
all of above
Determine output: public class Test{ public static void main(String args[]){ int i; for(i = 1; i 3) continue ; } System.out.println(i); } }
1 Mark(s)
Your Answer:
2
2
3
3
4
4
5
5
6
6
The frequency through which the network reliability is measured, is named as:
1 Mark(s)
Your Answer:
Delay
Delay
Failure
Failure
Throughput
Throughput
Response time
Response time
A/An _________ is essentially a macro that allows a short name to be associated with replacement text.
1 Mark(s)
Your Answer:
Entity
Entity
Attribute
Attribute
Comment
Comment
None of the mentioned
None of the mentioned
What is the purpose of the 'strlen()' function in C++?
1 Mark(s)
Your Answer:
Concatenates two strings
Concatenates two strings
Compares two strings
Compares two strings
Returns the length of a null-terminated string
Returns the length of a null-terminated string
Copies a string to another string
Copies a string to another string
Type of interference in which phase difference is 4/3π radian is:
1 Mark(s)
Your Answer:
random interference
random interference
fully destructive
fully destructive
intermediate
intermediate
fully constructive
fully constructive
Which feature is used to make selected sentence to All Captital Letters or All Small Letters ?
1 Mark(s)
Your Answer:
Change case
Change case
Change letter
Change letter
Change sentence
Change sentence
Change word
Change word
What is the maximum number of ports on a standard switch?
1 Mark(s)
Your Answer:
12
12
24
24
48
48
Varies by model
Varies by model
Which of the following are not done by Business Intelligence (BI) systems?
1 Mark(s)
Your Answer:
Analyze past and current activities only
Analyze past and current activities only
Process and record transactions only
Process and record transactions only
Both of the above are correct.
Both of the above are correct.
Neither of the above is correct.
Neither of the above is correct.
When a program is loaded into the memory it is called as:
1 Mark(s)
Your Answer:
Procedure
Procedure
Process
Process
Register
Register
Table
Table
What is the output of the given code? test_1 = 17 > 16 puts(test_1) test_2 = 21 <= 30 puts(test_2) test_3 = 9 >= 9 puts(test_3) test_4 = -11 > 4 puts(test_4)
1 Mark(s)
Your Answer:
True false true false
True false true false
True True True False
True True True False
False False True True
False False True True
None of the mentioned
None of the mentioned
In specific, if the systems use separate protocols, which one of the following devices is used to link two systems?
1 Mark(s)
Your Answer:
Repeater
Repeater
Gateway
Gateway
Bridge
Bridge
Hub
Hub
In OOOVBOVB, V stands for violation and B stands for:
1 Mark(s)
Your Answer:
Bit
Bit
Baud
Baud
Bandwidth
Bandwidth
Bipolm
Bipolm
In derivative equation, 'F(x,y,y', ...,yn)=0' first derivative is represented as:
1 Mark(s)
Your Answer:
y'=∂y/∂x
y'=∂y/∂x
y'=∂x/∂y
y'=∂x/∂y
y'=∂y x ∂x
y'=∂y x ∂x
y'=∂/∂x
y'=∂/∂x
Which type of binary tree is specifically designed to store key-value pairs and supports efficient search, insertion, and deletion operations?
1 Mark(s)
Your Answer:
AVL Tree
AVL Tree
Red-Black Tree
Red-Black Tree
B-Tree
B-Tree
Splay Tree
Splay Tree
To check whether a file was uploaded, you look in the _______ superglobal array.
1 Mark(s)
Your Answer:
$_FILES
$_FILES
$_DOCS
$_DOCS
$_DOCUMENTS
$_DOCUMENTS
$_FOLDERS
$_FOLDERS
The Internet Protocol Version 4 (IPv4) address is displayed as:
1 Mark(s)
Your Answer:
4 bits
4 bits
8 bits
8 bits
16 bits
16 bits
32 bits
32 bits
In a typical ____________ network, application processing is shared between clients and one more servers?
1 Mark(s)
Your Answer:
client server computing
client server computing
data computing
data computing
mobile computing
mobile computing
cloud computing
cloud computing
You save the configuration on a router with the copy running-config startup-config command and reboot the router. The router, however, comes up with a blank configuration. What can the problem be?
1 Mark(s)
Your Answer:
You didn't boot the router with the correct command.
You didn't boot the router with the correct command.
NVRAM is corrupted.
NVRAM is corrupted.
The configuration register setting is incorrect.
The configuration register setting is incorrect.
The newly upgraded IOS is not compatible with the hardware of the router.
The newly upgraded IOS is not compatible with the hardware of the router.
DVD stand for:?
1 Mark(s)
Your Answer:
Diode Versatile Disk
Diode Versatile Disk
Digital Version Disk
Digital Version Disk
Digital Versatile Diode
Digital Versatile Diode
Digital Versatile Disk Answer
Digital Versatile Disk Answer
The ________, or typeface, defines the appearance and shape of letters, numbers, and special characters.
1 Mark(s)
Your Answer:
Font
Font
Font size
Font size
Point
Point
Paragraph formatting
Paragraph formatting
What is Apache ZooKeeper used for in Hadoop?
1 Mark(s)
Your Answer:
Data ingestion
Data ingestion
Configuration management
Configuration management
Querying and analysis
Querying and analysis
Real-time data processing
Real-time data processing
What name is given to the programs run by a computer, as opposed to the hardware?
1 Mark(s)
Your Answer:
program
program
software
software
input
input
output
output
Data warehouse data are usually normalized.
1 Mark(s)
Your Answer:
True
True
False
False
What is the result of the expression 7 / 2 in C?
1 Mark(s)
Your Answer:
2
2
3.5
3.5
3
3
3.50
3.50
In readers/writers problems, readers are processes that are not required to:
1 Mark(s)
Your Answer:
Include
Include
Exclude
Exclude
Describe
Describe
Define
Define
Which of the following can be considered as the maximum size that is supported by FAT?
1 Mark(s)
Your Answer:
8GB
8GB
4GB
4GB
4TB
4TB
None of the above
None of the above
Once the TCP/IP connection has been established, the browser sends an HTTP GET request over the connection to the remote server. The remote server finds the resource and returns it in an HTTP Response, the status of which is 200 to indicate a good response.
1 Mark(s)
Your Answer:
HTTP Response
HTTP Response
HTTP Request
HTTP Request
Get Request
Get Request
None of the mentioned
None of the mentioned
Protocol Independent Multicast-dense Mode (PIM-DM) is used in a dense multicast environment, such as a:
1 Mark(s)
Your Answer:
wan
wan
man
man
lan
lan
switches
switches
Multiple protocols are supported by the:
1 Mark(s)
Your Answer:
JDBC manager
JDBC manager
JDBC driver
JDBC driver
JDBC administrator
JDBC administrator
JDBC compiler
JDBC compiler
Plants growing in drier conditions tend to have small numbers of stomata on their lower leaf surface to save:
1 Mark(s)
Your Answer:
water loss
water loss
stored sunlight
stored sunlight
to prevent itself from consumers
to prevent itself from consumers
energy loss
energy loss
Which of the following is NOT a Python data type?
1 Mark(s)
Your Answer:
Integer
Integer
Float
Float
Character
Character
String
String
Syntax Analyzer produces:
1 Mark(s)
Your Answer:
Tokens
Tokens
Code
Code
Parse Tree
Parse Tree
Table
Table
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.