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
:
33
:
00
Q:
1
/
37
🤖
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 Programming Mock Test 17
Exam Duration:
00:33:00
C Programming Mock Test 17
: Question
1
of 37
Which of the following platforms does Hadoop run on?
1 Mark(s)
Your Answer:
Bare metal
Bare metal
Debian
Debian
Cross-platform
Cross-platform
Unix-like
Unix-like
Equatorial diameter of Uranus is:
1 Mark(s)
Your Answer:
51800 Km
51800 Km
6790 Km
6790 Km
12100 Km
12100 Km
450 Km
450 Km
End of magnet from which field lines emerges is called:
1 Mark(s)
Your Answer:
North Pole
North Pole
South Pole
South Pole
west pole
west pole
east pole
east pole
Question: Which of the following is not a very typical scenario for Divide and Conquer?
1 Mark(s)
Your Answer:
The shortest path in a given graph
The shortest path in a given graph
Matrix multiplication
Matrix multiplication
Calculating Fibonacci numbers
Calculating Fibonacci numbers
Solving the traveling salesman problem.
Solving the traveling salesman problem.
The large molecules in the food that we eat are:
1 Mark(s)
Your Answer:
carbohydrates and fats
carbohydrates and fats
fats and proteins
fats and proteins
carbohydrates, fats and proteins
carbohydrates, fats and proteins
carbohydrates and proteins
carbohydrates and proteins
Which of the following is NOT a valid operation on a Binary Search Tree?
1 Mark(s)
Your Answer:
Sorting elements
Sorting elements
Searching for an element
Searching for an element
Inserting a new element
Inserting a new element
Deleting an existing element
Deleting an existing element
Which of the following is not a term pertaining to spreadsheets?
1 Mark(s)
Your Answer:
cell
cell
character
character
browser
browser
formula
formula
What are generic methods?
1 Mark(s)
Your Answer:
Generic methods are the methods defined in a generic class
Generic methods are the methods defined in a generic class
Generic methods are the methods that extend generic class methods
Generic methods are the methods that extend generic class methods
Generic methods are methods that introduce their own type parameters
Generic methods are methods that introduce their own type parameters
Generic methods are methods that take void parameters
Generic methods are methods that take void parameters
A physical connection between the microprocessor memory and other parts of the microcomputer is known as?
1 Mark(s)
Your Answer:
Path
Path
Address bus
Address bus
Route
Route
None of these
None of these
'Moles' feed on:
1 Mark(s)
Your Answer:
roundworms
roundworms
earthworms
earthworms
mice
mice
birds
birds
One way to pass data around is by de parsing the R object with . . . . . . . .
1 Mark(s)
Your Answer:
dput()
dput()
write()
write()
read()
read()
dget()
dget()
The 0-1 Knapsack problem can be solved using Greedy algorithm.
1 Mark(s)
Your Answer:
True
True
False
False
In Java, can a subclass have more than one superclass?
1 Mark(s)
Your Answer:
No, a subclass can only have one superclass
No, a subclass can only have one superclass
Yes, a subclass can have multiple superclasses
Yes, a subclass can have multiple superclasses
Only if the superclasses have the same name
Only if the superclasses have the same name
Only if the subclass is marked as "final"
Only if the subclass is marked as "final"
Read the following given program of C++ and predict the most appropriate output of the program? #include
usingnamespacestd; intmain() { intx = 10; int& ref= x; ref= 20; cout<< "x = "<< x <
usingnamespacestd; intmain() { intx = 10; int& ref= x; ref= 20; cout<< "x = "<< x <
1 Mark(s)
Your Answer:
x=20 ref=30
x=20 ref=30
x=20 ref=20
x=20 ref=20
x=10 ref= 30
x=10 ref= 30
x= 30 ref=30
x= 30 ref=30
The interface ResultSet has a method, getMetaData(), that returns an object of named:
1 Mark(s)
Your Answer:
SetResultMetaData
SetResultMetaData
ResultSetMetaData
ResultSetMetaData
ResultGetMetaData
ResultGetMetaData
GetResultMetaData
GetResultMetaData
Which optimization technique is used to reduce the multiple jumps?
1 Mark(s)
Your Answer:
Latter optimization technique
Latter optimization technique
Peephole optimization technique
Peephole optimization technique
Local optimization technique
Local optimization technique
Code optimization technique
Code optimization technique
What does BIOS do?
1 Mark(s)
Your Answer:
to perform start-up procedures when the computer is turned off
to perform start-up procedures when the computer is turned off
to perform start-up procedures when the computer is turned on
to perform start-up procedures when the computer is turned on
to perform booting procedures when necessary
to perform booting procedures when necessary
Provide Security to the Computer System Answer
Provide Security to the Computer System Answer
Which of these exceptions is thrown by methods of System class?
1 Mark(s)
Your Answer:
IOException
IOException
SystemException
SystemException
SecurityException
SecurityException
InputOutputException
InputOutputException
The DBMS ranked as being the "easiest to use" in the text is Oracle Corporation's Oracle.
1 Mark(s)
Your Answer:
True
True
False
False
Which of the following is not a restriction for a table to be a relation?
1 Mark(s)
Your Answer:
The cells of the table must contain a single value.
The cells of the table must contain a single value.
All of the entries in any column must be of the same kind.
All of the entries in any column must be of the same kind.
The columns must be ordered.
The columns must be ordered.
No two rows in a table may be identical.
No two rows in a table may be identical.
Computers process data into information by working exclusively with____________?
1 Mark(s)
Your Answer:
multimedia
multimedia
word
word
numbers
numbers
characters
characters
Laplace transform of function f(t)=3t+12 is:
1 Mark(s)
Your Answer:
3/s+12
3/s+12
3/s2+12
3/s2+12
3/s2+12/s
3/s2+12/s
3+12/s
3+12/s
What does the to_date method do when applied to a Time object in Ruby?
1 Mark(s)
Your Answer:
Converts a Time object to a Date object
Converts a Time object to a Date object
Converts a Time object to a string
Converts a Time object to a string
Converts a Time object to a number of seconds since the Unix epoch
Converts a Time object to a number of seconds since the Unix epoch
Converts a Time object to a number of milliseconds since the Unix epoch
Converts a Time object to a number of milliseconds since the Unix epoch
If x=10,a=3, y=++x*a; what will be the value of y:
1 Mark(s)
Your Answer:
11
11
31
31
Error
Error
33
33
The process of transforming a model into source code is known as___________________?
1 Mark(s)
Your Answer:
Forward engineering
Forward engineering
Reverse engineering
Reverse engineering
Re-engineering
Re-engineering
Reconstructing
Reconstructing
How can you secure data transmission between nodes in a Hadoop cluster?
1 Mark(s)
Your Answer:
Using a public Wi-Fi network for communication
Using a public Wi-Fi network for communication
Disabling firewall settings on all nodes
Disabling firewall settings on all nodes
Running Hadoop in an open network mode
Running Hadoop in an open network mode
Enabling SSL/TLS encryption for Hadoop services
Enabling SSL/TLS encryption for Hadoop services
What will be the output of the following Java program? import java.util.*; class LOCALE_CLASS { public static void main(String args[]) { Locale obj = new Locale("HINDI") ; System.out.print(obj.getDisplayLanguage()); } }
1 Mark(s)
Your Answer:
India
India
INDIA
INDIA
HINDI
HINDI
Nothing is displayed
Nothing is displayed
Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?
1 Mark(s)
Your Answer:
dataFormatAs
dataFormatAs
datafld
datafld
disabled
disabled
datasrc
datasrc
What is the functionality of the following piece of code? public void function(Object item) { Node temp=new Node(item,trail); if(isEmpty()) { head.setNext(temp); temp.setNext(trail); } else { Node cur=head.getNext(); while(cur.getNext()!=trail) { cur=cur.getNext(); } cur.setNext(temp); } size++; }
1 Mark(s)
Your Answer:
Insert at the front end of the dequeue
Insert at the front end of the dequeue
Insert at the rear end of the dequeue
Insert at the rear end of the dequeue
Fetch the element at the rear end of the dequeue
Fetch the element at the rear end of the dequeue
Fetch the element at the front end of the dequeue
Fetch the element at the front end of the dequeue
A pivot clause in SQL is supported by SQL implementations, such as:
1 Mark(s)
Your Answer:
Microsoft SQL Server
Microsoft SQL Server
Oracle
Oracle
DB2
DB2
Both A and B
Both A and B
Analyze the following code: public abstract class Test implements Runnable{ public void doSomething() { }; }
1 Mark(s)
Your Answer:
The program will not compile because it does not implement the run() method.
The program will not compile because it does not implement the run() method.
The program will not compile because it does not contain abstract methods.
The program will not compile because it does not contain abstract methods.
The program compiles fine.
The program compiles fine.
None of the above
None of the above
Select the objects of the class TextWriter which is/are not used to perform the write operations to the console?
1 Mark(s)
Your Answer:
Write()
Write()
WriteLine()
WriteLine()
WriteError()
WriteError()
All of the mentioned
All of the mentioned
SOAP uses HTTP as its only transport mechanism.
1 Mark(s)
Your Answer:
True
True
False
False
Modulus operator, %, can be applied to which of these?
1 Mark(s)
Your Answer:
Integers
Integers
Floating - point numbers
Floating - point numbers
Both Integers and floating - point numbers
Both Integers and floating - point numbers
None of the mentioned
None of the mentioned
Pick one that is used for the logical operations or Comparisons, Such as less then, equal or greater than:?
1 Mark(s)
Your Answer:
Arithmetic & Logic Unit
Arithmetic & Logic Unit
Control Unit
Control Unit
Both A & B
Both A & B
None of these Answer
None of these Answer
In a BST, how do you identify the maximum value node?
1 Mark(s)
Your Answer:
By traversing to the rightmost node from the root.
By traversing to the rightmost node from the root.
By traversing to the leftmost node from the root.
By traversing to the leftmost node from the root.
By finding the root node.
By finding the root node.
By searching the entire tree.
By searching the entire tree.
Which of the following formulas is used by Pay-per-click?
1 Mark(s)
Your Answer:
Ads clicked (#) / Advertising cost ($)
Ads clicked (#) / Advertising cost ($)
Advertising cost ($) + Ads clicked (#)
Advertising cost ($) + Ads clicked (#)
Advertising cost ($) / Ads clicked (#)
Advertising cost ($) / Ads clicked (#)
Ads clicked (#) * Advertising cost ($)
Ads clicked (#) * Advertising cost ($)
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.