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
01
:
04
:
00
Q:
1
/
71
🤖
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 5
Exam Duration:
01:04:00
C Programming Mock Test 5
: Question
1
of 71
In SQL standard, the variable which is considered as communication variable and is string of five characters is named as:
1 Mark(s)
Your Answer:
SQLSECTION
SQLSECTION
SQLSTATE
SQLSTATE
SQLCODE
SQLCODE
SQLMOD
SQLMOD
Which HTML element is used to include images?
1 Mark(s)
Your Answer:
image
image
img
img
src
src
sourceimg
sourceimg
What is the S.I unit of acceleration?
1 Mark(s)
Your Answer:
m / s
m / s
m / s2
m / s2
m / s3
m / s3
ms2
ms2
What is the role of the @staticmethod decorator in Python?
1 Mark(s)
Your Answer:
To define static variables
To define static variables
To make a method callable without an instance
To make a method callable without an instance
To add static typing to variables
To add static typing to variables
To prevent method overriding
To prevent method overriding
What is the time complexity of removing an element from a priority queue in C++ STL?
1 Mark(s)
Your Answer:
O(log n)
O(log n)
O(1)
O(1)
O(n)
O(n)
O(n log n)
O(n log n)
Which preprocessor directive in C is used to prevent multiple inclusions of header files?
1 Mark(s)
Your Answer:
#ifndef / #define
#ifndef / #define
#include
#include
#pragma pack
#pragma pack
#undef
#undef
Software programs that allow you to legally copy files and give them away at no cost are called which of the following?
1 Mark(s)
Your Answer:
Probe ware
Probe ware
Timeshare
Timeshare
Shareware
Shareware
Public domain
Public domain
With JSP, the coding is done in Java and only in Java.
1 Mark(s)
Your Answer:
True
True
False
False
Ctrl + H Shortcut key is used in Microsoft Word to____________?
1 Mark(s)
Your Answer:
Open Find and Replace Dialog box with activating Replace Tab
Open Find and Replace Dialog box with activating Replace Tab
Open Format Dialog box activating Insert Hyper Link tab
Open Format Dialog box activating Insert Hyper Link tab
Open Insert Dialog box activating Insert Hyper Link Tab
Open Insert Dialog box activating Insert Hyper Link Tab
Open Insert Hyper Link Dialog box
Open Insert Hyper Link Dialog box
An option which is used to record the time of datagram processing by a router is called:
1 Mark(s)
Your Answer:
timestamp
timestamp
time frame
time frame
time delay
time delay
timewrap
timewrap
Potential energy of yo-yo is equals to:
1 Mark(s)
Your Answer:
mgcosθ
mgcosθ
mgh
mgh
m/gh
m/gh
gh/m
gh/m
Perfume industry obtains fragrant oil from plants using technique:
1 Mark(s)
Your Answer:
reverse osmosis
reverse osmosis
distillation
distillation
filtration
filtration
heating
heating
Which method is used to count the occurrences of an element in a list or tuple?
1 Mark(s)
Your Answer:
count()
count()
find()
find()
search()
search()
locate()
locate()
After a table has been created, its structure can be modified using the SQL command:
1 Mark(s)
Your Answer:
UPDATE TABLE [TableName].
UPDATE TABLE [TableName].
MODIFY TABLE [TableName].
MODIFY TABLE [TableName].
ALTER TABLE [TableName].
ALTER TABLE [TableName].
CHANGE TABLE [TableName].
CHANGE TABLE [TableName].
What is the output of the following code: cout << (5 > 2) ? "True" : "False";
1 Mark(s)
Your Answer:
TRUE
TRUE
FALSE
FALSE
5
5
2
2
Ln an=:
1 Mark(s)
Your Answer:
n ln a
n ln a
a ln n
a ln n
n-a ln a
n-a ln a
a-n ln a
a-n ln a
Is the following Python code valid? >>> a=2,3,4,5 >>> a
1 Mark(s)
Your Answer:
Yes, 2 is printed
Yes, 2 is printed
Yes, [2,3,4,5] is printed
Yes, [2,3,4,5] is printed
No, too many values to unpack
No, too many values to unpack
Yes, (2,3,4,5) is printed
Yes, (2,3,4,5) is printed
Which data structure is used to manage a collection of intervals and perform efficient range queries?
1 Mark(s)
Your Answer:
Trie
Trie
Segment Tree
Segment Tree
Array
Array
Trie
Trie
The Movement of an object is created by using?
1 Mark(s)
Your Answer:
Animation
Animation
Motion
Motion
Slide Layout
Slide Layout
Presentation
Presentation
Example/s of use of atomic force microscopy by Maxwell is/are:
1 Mark(s)
Your Answer:
study of morphology
study of morphology
study of nano-mechanical properties
study of nano-mechanical properties
effect of moisture absorption in cotton
effect of moisture absorption in cotton
all of above
all of above
To access directly font dialogue box in PowerPoint which shortcut key used?
1 Mark(s)
Your Answer:
Ctrl+T
Ctrl+T
Ctrl+C
Ctrl+C
Ctrl+E
Ctrl+E
Ctrl+R
Ctrl+R
Which data structure is used in the syntax analysis phase of the compiler?
1 Mark(s)
Your Answer:
Tree
Tree
Stack
Stack
Linked List
Linked List
Queue
Queue
A web cookie is a small piece of data__________________?
1 Mark(s)
Your Answer:
sent from user and stored in the server while a user is browsing a website
sent from user and stored in the server while a user is browsing a website
sent from a website and stored in user’s web browser while a user is browsing a website
sent from a website and stored in user’s web browser while a user is browsing a website
sent from root server to all servers
sent from root server to all servers
all of the above
all of the above
Match the types of work with their characteristics: Column A Column B (i) Positive Work (p) Work involving machines or tools (ii) Negative Work (q) No displacement despite force applied (iii) Zero Work (r) Force opposite to displacement (iv) Mechanical (s) Force and displacement Work in same direction
1 Mark(s)
Your Answer:
A) (i) – (p), (ii) – (q), (iii) – (r), (iv) – (s)
A) (i) – (p), (ii) – (q), (iii) – (r), (iv) – (s)
B) (i) – (s), (ii) – (r), (iii) – (q), (iv) – (p)
B) (i) – (s), (ii) – (r), (iii) – (q), (iv) – (p)
C) (i) – (r), (ii) – (s), (iii) – (p), (iv) – (q)
C) (i) – (r), (ii) – (s), (iii) – (p), (iv) – (q)
D) (i) – (q), (ii) – (p), (iii) – (s), (iv) – (r) (i) – (s), (ii) – (r), (iii) – (q), (iv) – (p) Column A Column B (i) Positive Work (s) Force and displacement Work in same direction (ii) Negative Work (r) Force opposite to displacement (iii) Zero Work (q) No displacement despite force applied (iv) Mechanical (p) Work involving machines or tools
D) (i) – (q), (ii) – (p), (iii) – (s), (iv) – (r) (i) – (s), (ii) – (r), (iii) – (q), (iv) – (p) Column A Column B (i) Positive Work (s) Force and displacement Work in same direction (ii) Negative Work (r) Force opposite to displacement (iii) Zero Work (q) No displacement despite force applied (iv) Mechanical (p) Work involving machines or tools
What is the primary purpose of R programming language?
1 Mark(s)
Your Answer:
Web Development
Web Development
Data Analysis
Data Analysis
Game Development
Game Development
Mobile App Development
Mobile App Development
In special case, the time complexity of inserting/deleting elements at the end of dynamic array is . . . . . . . .
1 Mark(s)
Your Answer:
O (n)
O (n)
O (n1/2)
O (n1/2)
O (log n)
O (log n)
O (1)
O (1)
Ev ln u ∂⁄∂x v ln u=:
1 Mark(s)
Your Answer:
vun-1∂⁄∂x +u ln u∂⁄∂x
vun-1∂⁄∂x +u ln u∂⁄∂x
vun-1∂u⁄∂x +u ln u ∂v⁄∂x
vun-1∂u⁄∂x +u ln u ∂v⁄∂x
vun∂⁄∂x +u ln u∂⁄∂x
vun∂⁄∂x +u ln u∂⁄∂x
vun∂u⁄∂x +u ln u ∂v⁄∂x
vun∂u⁄∂x +u ln u ∂v⁄∂x
The uneven delay in the delivery of the message is called the:
1 Mark(s)
Your Answer:
Delivery
Delivery
Accuracy
Accuracy
Jitter
Jitter
Timeliness
Timeliness
What will be the output of the following Java code? class char_increment { public static void main(String args[]) { char c1 = 'D'; char c2 = 84; c2++; c1++; System.out.println(c1 + " " + c2); } }
1 Mark(s)
Your Answer:
E U
E U
U E
U E
V E
V E
U F
U F
The part of the plant that evaporates water is -
1 Mark(s)
Your Answer:
Fruit
Fruit
Stomata
Stomata
Root
Root
None of the above
None of the above
Fact that states that a single force that has magnitude and direction of the net force has the same effect on the body as all the individual forces together is known as:
1 Mark(s)
Your Answer:
principle of superposition for forces
principle of superposition for forces
principle of addition of forces
principle of addition of forces
principle of initialization of forces
principle of initialization of forces
principle of superposition of velocities
principle of superposition of velocities
You set the console password, but when you display the configuration, the password doesn't show up; it looks like this: [output cut] Line console 0 Exec-timeout 1 44 Password 7098C0BQR Login [output cut]
1 Mark(s)
Your Answer:
encrypt password
encrypt password
service password-encryption
service password-encryption
service-password-encryption
service-password-encryption
exec-timeout 1 35
exec-timeout 1 35
: Using keywords as an identifier causes is called ________.
1 Mark(s)
Your Answer:
Syntax error
Syntax error
Logical error
Logical error
Run time error
Run time error
None of them
None of them
Second generation of the cellular phone network was developed, to provide higher-quality mobile:
1 Mark(s)
Your Answer:
Video Communications
Video Communications
Signal Generation
Signal Generation
Frame Communication
Frame Communication
Voice Communications
Voice Communications
Which of the following is used to add text in a slide?
1 Mark(s)
Your Answer:
Text box
Text box
Comment box
Comment box
Note box
Note box
Custom animation
Custom animation
1287°C is melting point of:
1 Mark(s)
Your Answer:
Beryllium
Beryllium
Astarine
Astarine
Arsenic
Arsenic
Dubnium
Dubnium
Which message is received so that the system moves to the Testing state, then the Transmitting state, before returning to the Running state ?
1 Mark(s)
Your Answer:
signalStatus()
signalStatus()
remoteControl()
remoteControl()
reconfigure()
reconfigure()
reportStatus()
reportStatus()
. . . . . . . . allows users to send a file with email.
1 Mark(s)
Your Answer:
Draft
Draft
Inbox
Inbox
Spam
Spam
Attachments
Attachments
To improve the performance of a business process, which of the following is most relevant ?
1 Mark(s)
Your Answer:
Input
Input
Processing
Processing
Control and feedback
Control and feedback
All of the above
All of the above
How can you insert a page break in Microsoft Word?
1 Mark(s)
Your Answer:
Ctrl + Tab
Ctrl + Tab
Ctrl + Enter
Ctrl + Enter
Ctrl + Alt
Ctrl + Alt
Ctrl + Shift
Ctrl + Shift
The term that refers to associate a logical address with a physical address is:
1 Mark(s)
Your Answer:
RARP
RARP
IGMP
IGMP
ARP
ARP
ICMP
ICMP
What is the complexity of determining whether a graph is Hamiltonian?
1 Mark(s)
Your Answer:
Polynomial time
Polynomial time
Exponential time
Exponential time
Linear time
Linear time
Logarithmic time
Logarithmic time
Reverse engineering is the process of deriving the system design and specification from its____________________?
1 Mark(s)
Your Answer:
GUI
GUI
Database
Database
Source code
Source code
All of the mentioned
All of the mentioned
SQL Server supports two kinds of indexes: clustered and nonclustered.
1 Mark(s)
Your Answer:
True
True
False
False
Use Case Diagrams depicts:
1 Mark(s)
Your Answer:
Functionality
Functionality
Class Structure
Class Structure
Deployment
Deployment
Timing
Timing
What will be the output of the following C# code? class number { int length = 50; public int number1 { get { return length; } set { length = value; } } } class Program { public static void Main(string[] args) { number p = new number(); p.number1 = p.number1 + 40; int k = p.number1 * 3 / 9; Console.WriteLine(k); Console.ReadLine(); } }
1 Mark(s)
Your Answer:
0
0
180
180
30
30
Compile time error
Compile time error
The phase of determining the appropriate pixels for representing images or graphics object is called as -
1 Mark(s)
Your Answer:
Translation
Translation
Transformation
Transformation
Rasterization
Rasterization
Scaling
Scaling
What will be the output?
1 Mark(s)
Your Answer:
10, 10
10, 10
10, 11
10, 11
11, 10
11, 10
11, 11
11, 11
Storage device access in which access time is effectively independent of the location of data is:
1 Mark(s)
Your Answer:
primary storage
primary storage
secondary storage
secondary storage
direct access
direct access
indirect access
indirect access
One common design problem when designing a database from existing data is the presence of inconsistent values in the received data.
1 Mark(s)
Your Answer:
True
True
False
False
Which of the following items is not used in Local Area Networks (LANs)
1 Mark(s)
Your Answer:
Computers
Computers
Modem
Modem
Printer
Printer
Cable
Cable
The clause in SQL that does not support partitioning, is known to be:
1 Mark(s)
Your Answer:
Limit
Limit
Specific
Specific
Where
Where
Group by
Group by
Electrical insulators have resistance which is:
1 Mark(s)
Your Answer:
high
high
low
low
constant
constant
all of them
all of them
Remote backup site is sometimes called the:
1 Mark(s)
Your Answer:
primary site
primary site
secondary site
secondary site
ternary site
ternary site
main site
main site
4900°C is boiling point of:
1 Mark(s)
Your Answer:
Ruthenium
Ruthenium
Osmium
Osmium
Uranium
Uranium
Indium
Indium
Sonya is tall is the observation which is:
1 Mark(s)
Your Answer:
qualitative
qualitative
quantitative
quantitative
both a and b
both a and b
respective
respective
Term which is used for a predefined computational task in computer spreadsheet program is:
1 Mark(s)
Your Answer:
result
result
function
function
math operator
math operator
range
range
What will be the output of the following C code? #include <stdio.h> #include <ctype.h> int main() { int i = 0; if (isspace(i)) printf("space\n"); else printf("not space\n"); return 0; }
1 Mark(s)
Your Answer:
Compile time error
Compile time error
space
space
not space
not space
None of the mentioned
None of the mentioned
Which among the following is not a member of the class?
1 Mark(s)
Your Answer:
Virtual function
Virtual function
const function
const function
Static function
Static function
Friend function
Friend function
What is the number of bits per baud for Phase-shift Keying (PSK) with four different phases?
1 Mark(s)
Your Answer:
3
3
4
4
2
2
5
5
Which of the following circuit is used as a 'Memory device' in computers?
1 Mark(s)
Your Answer:
Rectifier
Rectifier
Flip Flop
Flip Flop
Comparator
Comparator
Attenuator
Attenuator
None of these
None of these
How do you rename a column named old_name to new_name in dplyr?
1 Mark(s)
Your Answer:
rename_column(old_name = new_name)
rename_column(old_name = new_name)
rename(columns = c("old_name" = "new_name"))
rename(columns = c("old_name" = "new_name"))
alter_column("old_name", "new_name")
alter_column("old_name", "new_name")
rename(vars(old_name = new_name))
rename(vars(old_name = new_name))
If light is diffracted through fibre and scattered internally, he pattern formed will be:
1 Mark(s)
Your Answer:
scattered
scattered
one line
one line
simple
simple
complex
complex
Which IEEE standard defines wired Ethernet?
1 Mark(s)
Your Answer:
802.3
802.3
802.11
802.11
802.5
802.5
802.1Q
802.1Q
Which of the following is not needed to develop a system design from concept to detailed object-oriented design ?
1 Mark(s)
Your Answer:
Designing system architecture
Designing system architecture
Developing design models
Developing design models
Specifying interfaces
Specifying interfaces
Developing a debugging system
Developing a debugging system
Bidirectional Line Switching Ring (BLSR) is used:
1 Mark(s)
Your Answer:
one ring
one ring
two rings
two rings
three rings
three rings
four rings
four rings
Which of the following can be budgeted in tally
1 Mark(s)
Your Answer:
Nett Transactions
Nett Transactions
Closing Balance
Closing Balance
Both A and B
Both A and B
None of the above
None of the above
What will be the output of the following C code? #include <stdio.h> int x; void main() { m(); printf("%d", x); } void m() { x = 4; }
1 Mark(s)
Your Answer:
0
0
4
4
Compile time error
Compile time error
Undefined
Undefined
Slide ______ of the effects that determine how a slide moves in and out of the view in the slideshow.
1 Mark(s)
Your Answer:
Transition
Transition
Animation
Animation
Layout
Layout
None of these
None of these
What is the result of the expression *NULL in C?
1 Mark(s)
Your Answer:
Error
Error
Null pointer dereference
Null pointer dereference
0
0
Undefined
Undefined
The 4-bit code of the bottom-region among the nine regions divided using the Cohen-Sutherland algorithm?
1 Mark(s)
Your Answer:
0000
0000
0010
0010
0110
0110
0101
0101
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.