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
:
59
:
00
Q:
1
/
66
🤖
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 7
Exam Duration:
00:59:00
C++ Programming Mock Test 7
: Question
1
of 66
To squeeze toothpaste or press a lift button we apply:
1 Mark(s)
Your Answer:
heat
heat
signal
signal
force
force
stationary
stationary
Dot-matrix is a type of?
1 Mark(s)
Your Answer:
Printer
Printer
Disk
Disk
Tape
Tape
Bus
Bus
Which function is used to return the current file pointer position in C++?
1 Mark(s)
Your Answer:
currentPos()
currentPos()
tellg()
tellg()
position()
position()
getFilePos()
getFilePos()
Which of the following is always a part of E-mail address?
1 Mark(s)
Your Answer:
Period (.)
Period (.)
Space ()
Space ()
At sign (@)
At sign (@)
Underscore (__)
Underscore (__)
All of these
All of these
. . . . . . . . produces box-and-whisker plots.
1 Mark(s)
Your Answer:
xyplot
xyplot
dotplot
dotplot
barchart
barchart
bwplot
bwplot
The .length method is used to check number of characters.
1 Mark(s)
Your Answer:
True
True
False
False
What will be the output of the following C# code? m = 5; int y; 1. y = m++; 2. y = ++m;
1 Mark(s)
Your Answer:
y = 5, m = 6 ; y = 5, m = 5
y = 5, m = 6 ; y = 5, m = 5
y = 6, m = 6; y = 7, m = 6
y = 6, m = 6; y = 7, m = 6
y = 5, m = 6; y = 7, m = 7
y = 5, m = 6; y = 7, m = 7
y = 5, m = 6; y = 7, m = 8
y = 5, m = 6; y = 7, m = 8
Requesting and releasing devices of a computer system are:
1 Mark(s)
Your Answer:
process control
process control
file management
file management
device management
device management
information maintenance
information maintenance
Which command will show you all the translations active on your router?
1 Mark(s)
Your Answer:
show ip nat translations
show ip nat translations
show ip nat statistics
show ip nat statistics
debug ip nat
debug ip nat
clear ip nat translations *
clear ip nat translations *
The split size is normally the size of a . . . . . . . . block, which is appropriate for most applications.
1 Mark(s)
Your Answer:
Generic
Generic
Task
Task
Library
Library
HDFS
HDFS
What is the purpose of the Form class in C# Windows Forms Applications?
1 Mark(s)
Your Answer:
To perform mathematical computations
To perform mathematical computations
To represent a window in the application
To represent a window in the application
To manage database connections
To manage database connections
None of the above
None of the above
Synchronous Optical Networking (SONET) was developed by:
1 Mark(s)
Your Answer:
SDH
SDH
ANSI
ANSI
SDF
SDF
ANST
ANST
"Ctrl + End" is used to
1 Mark(s)
Your Answer:
Moves the cursor to the end of Line
Moves the cursor to the end of Line
Moves the cursor to the end of Document
Moves the cursor to the end of Document
Moves the cursor to the end of Paragraph
Moves the cursor to the end of Paragraph
None of the Above
None of the Above
PH value of soil directly affects the growth of:
1 Mark(s)
Your Answer:
land
land
pressure
pressure
plant
plant
none of them
none of them
What is the correct syntax to declare an array of strings in C#?
1 Mark(s)
Your Answer:
string[] array
string[] array
array
array
string array[]
string array[]
string array
string array
The constraints that are applied on individual tuples and are verified whenever any tuple is modified or new tuple is inserted are called:
1 Mark(s)
Your Answer:
language based constraints
language based constraints
tuple based constraints
tuple based constraints
scale based constraints
scale based constraints
precision based constraints
precision based constraints
Loading of Operating System in Personal Computer is called?
1 Mark(s)
Your Answer:
Processing
Processing
Installation
Installation
Booting
Booting
None of these
None of these
The moon moves around the earth in about days.
1 Mark(s)
Your Answer:
A) 21
A) 21
B) 23
B) 23
C) 27
C) 27
D) None
D) None
The large transaction processing system in automated organizations use:?
1 Mark(s)
Your Answer:
Online Processing
Online Processing
Batch Processing
Batch Processing
Once-a-day Processing
Once-a-day Processing
End-of-day Processing Answer
End-of-day Processing Answer
What is a heap in JavaScript?
1 Mark(s)
Your Answer:
Collection of Java objects
Collection of Java objects
Collection of JavaScript objects
Collection of JavaScript objects
Collection of memory usage values
Collection of memory usage values
Collection of data stored in memory
Collection of data stored in memory
Which of the following are valid PHP stream transports? 1. http 2. STDIO 3. ftp 4. STDOUT 5. stream
1 Mark(s)
Your Answer:
Option 3 and 5
Option 3 and 5
Option 1 and 4
Option 1 and 4
Option 4 and 5
Option 4 and 5
Option 2 and 5
Option 2 and 5
Which HTTP method is typically used to create a new session in Java web applications?
1 Mark(s)
Your Answer:
`SESSION`
`SESSION`
`PUT`
`PUT`
`GET`
`GET`
`POST`
`POST`
Derivative of ∂⁄∂x ln(2x+3) is equals to:
1 Mark(s)
Your Answer:
2/(2x+3)
2/(2x+3)
2x/(2+3x)
2x/(2+3x)
2x/(2x+3)
2x/(2x+3)
1/(2x+3)
1/(2x+3)
Data communications system depends on four fundamental characteristics
1 Mark(s)
Your Answer:
Receiver
Receiver
Sender
Sender
Timeliness
Timeliness
Medium
Medium
The cable modem transmission system receives data from the internet and passes them to the:
1 Mark(s)
Your Answer:
combiner
combiner
subscriber
subscriber
destination address
destination address
internet
internet
If integer needs two bytes of storage, then maximum value of an unsigned integer is
1 Mark(s)
Your Answer:
216 – 1
216 – 1
215 – 1
215 – 1
216
216
215
215
None of these
None of these
The portion where monitor must always be in main memory and available is referred as:
1 Mark(s)
Your Answer:
Direct Memory Access DMA
Direct Memory Access DMA
Monitor
Monitor
Control Monitor
Control Monitor
Resident Monitor
Resident Monitor
In Ruby, what does the 'if' statement evaluate?
1 Mark(s)
Your Answer:
Expression
Expression
Boolean value
Boolean value
Integer
Integer
String
String
What is a significant advantage of the Rabin-Karp algorithm over other string matching algorithms?
1 Mark(s)
Your Answer:
It is the fastest for short texts.
It is the fastest for short texts.
It does not require preprocessing.
It does not require preprocessing.
It allows for efficient multiple pattern matching.
It allows for efficient multiple pattern matching.
It always performs in linear time.
It always performs in linear time.
In cellular telephony, Interim Standard 95 (IS-95), the forward channel uses the technique:
1 Mark(s)
Your Answer:
CDMA
CDMA
DSSS
DSSS
FHSS
FHSS
FDMA
FDMA
What is the full form of CNS?
1 Mark(s)
Your Answer:
Centripetal nervous system
Centripetal nervous system
Central neuron system
Central neuron system
Central nervous system
Central nervous system
Central neuron style
Central neuron style
Simple chromatography is carried out on:
1 Mark(s)
Your Answer:
napkin
napkin
book
book
paper
paper
tissue paper
tissue paper
In Java, can a subclass override a final method from its superclass?
1 Mark(s)
Your Answer:
Only if the final method is marked as "static"
Only if the final method is marked as "static"
Only if the subclass is marked as "final"
Only if the subclass is marked as "final"
No, final methods cannot be overridden
No, final methods cannot be overridden
Yes, a subclass can override final methods
Yes, a subclass can override final methods
What is the purpose of the 'if' control structure in C?
1 Mark(s)
Your Answer:
Looping
Looping
Decision making
Decision making
Function declaration
Function declaration
Error handling
Error handling
What is the result of calling a method in Ruby without parentheses?
1 Mark(s)
Your Answer:
Error
Error
Returns nil
Returns nil
Returns the method itself
Returns the method itself
Executes the method
Executes the method
The process in which dead body of animal and plant is turned in smaller particles ultimately disappearing is called:
1 Mark(s)
Your Answer:
evaporation
evaporation
disappearance
disappearance
fertilization
fertilization
decomposition
decomposition
Which function will return true if a variable is an array or false if it is not?
1 Mark(s)
Your Answer:
this_array()
this_array()
is_array()
is_array()
do_array()
do_array()
in_array()
in_array()
RAM of computer system is a/an:
1 Mark(s)
Your Answer:
input device
input device
output device
output device
Processing unit
Processing unit
memory
memory
A compound statement of the form begin atomic ... end ensures that all the statements contained within it are executed as:
1 Mark(s)
Your Answer:
Multiple transactions
Multiple transactions
Repeated transactions
Repeated transactions
Single transaction
Single transaction
No value returned transaction
No value returned transaction
Which of the following property aligns the flexible container’s items when the items do not use all available space on the main-axis?
1 Mark(s)
Your Answer:
wrap-content
wrap-content
fix-content
fix-content
adjust-content
adjust-content
justify-content
justify-content
For a browser to connect to other resources , the location or address of the resources must be specified. These addresses are called___________________?
1 Mark(s)
Your Answer:
Identities
Identities
URL
URL
MSN
MSN
Packets
Packets
In MapReduce, what does the term "Map" refer to?
1 Mark(s)
Your Answer:
Task that processes the Map output
Task that processes the Map output
Task that processes the Reduce output
Task that processes the Reduce output
Task that processes the Map input
Task that processes the Map input
Task that processes the Reduce input
Task that processes the Reduce input
Laplace transform of function f(t)=cos(wt) is:
1 Mark(s)
Your Answer:
s/(s+w)
s/(s+w)
s/(s-w)
s/(s-w)
s/(s2+w2)
s/(s2+w2)
w/(s2+w2)
w/(s2+w2)
BASIC stands for ________?
1 Mark(s)
Your Answer:
Basic All Purpose Symbolic Instruction Codes
Basic All Purpose Symbolic Instruction Codes
Beginners All Purpose Symbolic Instruction Codes
Beginners All Purpose Symbolic Instruction Codes
Beginners All Purpose Symbolic Intelligent Codes
Beginners All Purpose Symbolic Intelligent Codes
Beginners Anti Purpose Symbolic Instruction Codes
Beginners Anti Purpose Symbolic Instruction Codes
Mac is a ________?
1 Mark(s)
Your Answer:
Utility Program
Utility Program
Operating System
Operating System
Windows
Windows
Multimedia Software
Multimedia Software
What will be the output of the following C code? #include<stdio.h> #define sf 10 main() { if(sf==100) printf("good"); else { printf("bad"); sf=100; } printf("%d",sf); }
1 Mark(s)
Your Answer:
100
100
bad
bad
10
10
error
error
Which organization is responsible for bringing the internet to the Shimal Valley?
1 Mark(s)
Your Answer:
ITU
ITU
SCO
SCO
WHO
WHO
UNESCO
UNESCO
Which data structure would you use to implement a memory-efficient list of boolean values?
1 Mark(s)
Your Answer:
Array
Array
Linked List
Linked List
Bit Array
Bit Array
Hash Map
Hash Map
If the where clause is omitted, in which case:
1 Mark(s)
Your Answer:
All tuples are deleted
All tuples are deleted
All attribute are deleted
All attribute are deleted
Specified tuples are deleted
Specified tuples are deleted
Specified attributes are deleted
Specified attributes are deleted
What is the purpose of the Distinct operator in LINQ?
1 Mark(s)
Your Answer:
Filters a sequence based on a predicate
Filters a sequence based on a predicate
Returns distinct elements from a sequence
Returns distinct elements from a sequence
Projects each element of a sequence
Projects each element of a sequence
None of the above
None of the above
You want to run the new 802.1w on your switches. Which of the following would enable this protocol?
1 Mark(s)
Your Answer:
Switch(config)# spanning-tree mode rapid-pvst
Switch(config)# spanning-tree mode rapid-pvst
Switch# spanning-tree mode rapid-pvst
Switch# spanning-tree mode rapid-pvst
Switch(config)# spanning-tree mode 802.1w
Switch(config)# spanning-tree mode 802.1w
Switch# spanning-tree mode 802.1w
Switch# spanning-tree mode 802.1w
Which of the following is correct for array of function pointers?
1 Mark(s)
Your Answer:
int (*p[5])(int,int);
int (*p[5])(int,int);
int p5
int p5
int p5
int p5
int (*p)(5)(int,int);
int (*p)(5)(int,int);
What will be the output of the following C code? #include <stdio.h> struct student { char *c; }; void main() { struct student *s; s->c = "hello"; printf("%s", s->c); }
1 Mark(s)
Your Answer:
hello
hello
Segmentation fault
Segmentation fault
Run time error
Run time error
Nothing
Nothing
Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?
1 Mark(s)
Your Answer:
6-Hex Color
6-Hex Color
3-Hex Color
3-Hex Color
RGBS
RGBS
RGBa
RGBa
MS PowerPoint is example of _____?
1 Mark(s)
Your Answer:
Multimedia software
Multimedia software
Application software
Application software
Entertainment software
Entertainment software
All above mentioned
All above mentioned
Swapping device which is used to hold the images of pages in main memory is called:
1 Mark(s)
Your Answer:
plex
plex
paging drum
paging drum
card punch
card punch
optical mark reader
optical mark reader
If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing______________?
1 Mark(s)
Your Answer:
Maintain the login state security through a View State.
Maintain the login state security through a View State.
Maintain the login state security through a Session.
Maintain the login state security through a Session.
Maintain the login state security through a database.
Maintain the login state security through a database.
All of the above
All of the above
Semimajor axis of planet Jupiter is:
1 Mark(s)
Your Answer:
77.8x1010 m
77.8x1010 m
143x1010 m
143x1010 m
287x1010 m
287x1010 m
450x1010 m
450x1010 m
What will be the output of the following code: keys = ['a', 'b', 'c'] values = 0 my_dict = dict.fromkeys(keys, values) print(my_dict)
1 Mark(s)
Your Answer:
{'a': 0, 'b': 0, 'c': 0}
{'a': 0, 'b': 0, 'c': 0}
{'a': [0], 'b': [0], 'c': [0]}
{'a': [0], 'b': [0], 'c': [0]}
{0: ['a', 'b', 'c']}
{0: ['a', 'b', 'c']}
{'a': 'b', 'b': 'c', 'c': 0}
{'a': 'b', 'b': 'c', 'c': 0}
In an AVL tree, what type of rotation is performed when a node has a balance factor of +2 and its right child has a balance factor of -1?
1 Mark(s)
Your Answer:
Left Rotation
Left Rotation
Left-Right Rotation
Left-Right Rotation
Right Rotation
Right Rotation
Left Rotation
Left Rotation
What is the purpose of the `friend` keyword?
1 Mark(s)
Your Answer:
Makes a class public
Makes a class public
Access private members
Access private members
Inherits a class
Inherits a class
Deletes an object
Deletes an object
How are data organized in a spreadsheet ?
1 Mark(s)
Your Answer:
Lines and spaces
Lines and spaces
Layers and planes
Layers and planes
Rows and columns
Rows and columns
Height and width
Height and width
What is the purpose of the 'extern' keyword when declaring a function in C?
1 Mark(s)
Your Answer:
To specify that the function is not defined in the current file
To specify that the function is not defined in the current file
To declare a function as a constant
To declare a function as a constant
To declare a function with a variable number of arguments
To declare a function with a variable number of arguments
To specify that the function is recursive
To specify that the function is recursive
What is the purpose of the property PerformanceTiming.fetchStart?
1 Mark(s)
Your Answer:
Browser ready to fetch input
Browser ready to fetch input
Browser ready to fetch document
Browser ready to fetch document
Browser ready to fetch summary
Browser ready to fetch summary
All of the mentioned
All of the mentioned
In HBase, what is the significance of the HBase Increment feature?
1 Mark(s)
Your Answer:
Perform data analytics in Hadoop
Perform data analytics in Hadoop
Manage computation resources
Manage computation resources
Execute MapReduce jobs
Execute MapReduce jobs
Atomically increment a specified column value in HBase
Atomically increment a specified column value in HBase
The sum of amount of matter in a substance is called its:
1 Mark(s)
Your Answer:
mass
mass
weight
weight
length
length
volume
volume
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.