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
:
09
:
00
Q:
1
/
77
🤖
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.
Data Structures Mock Test 3
Exam Duration:
01:09:00
Data Structures Mock Test 3
: Question
1
of 77
Number of states that are represented by 1 bit is said to be:
1 Mark(s)
Your Answer:
1
1
0
0
3
3
0 and 1
0 and 1
How to activate a cell in MS Excel?
1 Mark(s)
Your Answer:
Pressing an arrow key
Pressing an arrow key
Clicking the cell
Clicking the cell
Pressing the Tab key
Pressing the Tab key
All of the above
All of the above
What are the two parts of JavaScript libraries?
1 Mark(s)
Your Answer:
“script” tag and “body” tag
“script” tag and “body” tag
External JavaScript and the “script” tag
External JavaScript and the “script” tag
“html” tag and “body” tag
“html” tag and “body” tag
None of the mentioned
None of the mentioned
Prototype model is useful when:
1 Mark(s)
Your Answer:
Requirements are unclear
Requirements are unclear
Requirements are fixed
Requirements are fixed
Project is short
Project is short
Budget is low
Budget is low
If a slit of width 'a' is illuminated by white light, then value of 'a' at which the first minimum for red light of wavelength 650 nm appears at θ=15°, is:
1 Mark(s)
Your Answer:
25 µm
25 µm
2.5 µm
2.5 µm
250 µm
250 µm
25 m
25 m
What is the output of the following Python code: array = [1, 2, 3]; print(array[-1])
1 Mark(s)
Your Answer:
1
1
2
2
3
3
IndexError
IndexError
What will be the output of the following PHP code ? <?php $a = 10; $b = 11; if ($a $a || $b $b) print "hello"; else print "hi"; ?>
1 Mark(s)
Your Answer:
hi
hi
hello
hello
error
error
no output
no output
Which gate outputs 1 only if both inputs are 1?
1 Mark(s)
Your Answer:
OR
OR
AND
AND
NAND
NAND
XOR
XOR
Once your application can generate administrative links, you need to load those links into _________
1 Mark(s)
Your Answer:
php.ini
php.ini
index.ini
index.ini
index.php
index.php
start.php
start.php
What is the meaning of JavaScript Hoisting?
1 Mark(s)
Your Answer:
Moving declarations to bottom
Moving declarations to bottom
Moving declarations to top
Moving declarations to top
Hosting variables by itself
Hosting variables by itself
None of the mentioned
None of the mentioned
Which statement is most scientifically correct?
1 Mark(s)
Your Answer:
A) Science proves everything permanently
A) Science proves everything permanently
B) Science explains everything completely
B) Science explains everything completely
C) Science improves understanding through testing
C) Science improves understanding through testing
D) Science depends on authority
D) Science depends on authority
What is the outcome of using R along with minification?
1 Mark(s)
Your Answer:
Sheer file size reduction
Sheer file size reduction
File size increase
File size increase
More efficient
More efficient
None of the mentioned
None of the mentioned
What can't be the value of a quality attribute?
1 Mark(s)
Your Answer:
autolow
autolow
low
low
high
high
automedium
automedium
DocBlocks are indicated by opening a comment using _________
1 Mark(s)
Your Answer:
/*
/*
//*
//*
/**
/**
/*/
/*/
Pollen grains in water were first observed by Scottish scientist:
1 Mark(s)
Your Answer:
Democritus
Democritus
Aristotle
Aristotle
Robert brown
Robert brown
Albert Einstein
Albert Einstein
Which of the following measurement is relative to 1percentage of viewport’s larger dimension?
1 Mark(s)
Your Answer:
vw
vw
vmax
vmax
vmin
vmin
ch
ch
Which keyword awaits the result of a Promise?
1 Mark(s)
Your Answer:
wait
wait
await
await
pause
pause
then
then
http://www.google.com is called?
1 Mark(s)
Your Answer:
URL
URL
IP Address
IP Address
Website Name
Website Name
None of these Answer
None of these Answer
. . . . . . . . is an RPC framework that defines a compact binary serialization format used to persist data structures for later analysis.
1 Mark(s)
Your Answer:
Pig
Pig
Hive
Hive
Thrift
Thrift
None of the mentioned
None of the mentioned
Who developed Python Programming Language?
1 Mark(s)
Your Answer:
Wick van Rossum
Wick van Rossum
Rasmus Lerdorf
Rasmus Lerdorf
Guido van Rossum
Guido van Rossum
Niene Stom
Niene Stom
In Python, how can you find the index of a specific element in a list or tuple?
1 Mark(s)
Your Answer:
index()
index()
find()
find()
locate()
locate()
position()
position()
Which command shows active network connections and ports?
1 Mark(s)
Your Answer:
ping
ping
netstat
netstat
ipconfig
ipconfig
nbtstat
nbtstat
More devices can be connected to computer system through:
1 Mark(s)
Your Answer:
buffers
buffers
interrupt
interrupt
registers
registers
controllers
controllers
Which platform is R imported to after charting as a PDF?
1 Mark(s)
Your Answer:
Adobe Illustrator
Adobe Illustrator
Adobe Photoshop
Adobe Photoshop
Both Adobe Illustrator and Adobe Photoshop
Both Adobe Illustrator and Adobe Photoshop
None of the mentioned
None of the mentioned
How destructor overloading is done?
1 Mark(s)
Your Answer:
By changing the number of parameters
By changing the number of parameters
By changing the parameters type
By changing the parameters type
By changing both the number of parameters and their type
By changing both the number of parameters and their type
No chance for destructor overloading
No chance for destructor overloading
What does pip stand for python?
1 Mark(s)
Your Answer:
Pip Installs Python
Pip Installs Python
Pip Installs Packages
Pip Installs Packages
Preferred Installer Program
Preferred Installer Program
All of the mentioned
All of the mentioned
How do you create a theme with a dark background in ggplot2?
1 Mark(s)
Your Answer:
theme_dark()
theme_dark()
theme_bg_color("dark")
theme_bg_color("dark")
dark_theme()
dark_theme()
background_dark()
background_dark()
What is the purpose of the File.Exists() method in C#?
1 Mark(s)
Your Answer:
To rename a file
To rename a file
To delete a file
To delete a file
To check if a file exists
To check if a file exists
To create a new file
To create a new file
How can you get the absolute path of a file in Ruby?
1 Mark(s)
Your Answer:
Using File.real_path method
Using File.real_path method
Using File.expand_path method
Using File.expand_path method
Using File.path method
Using File.path method
None of the above
None of the above
When arithmetic, logic and control unit of a computer are combined into a single unit, it is known as:
1 Mark(s)
Your Answer:
central processing unit
central processing unit
memory unit
memory unit
I/O unit
I/O unit
operating unit
operating unit
Which of the following is not an in-built software application found in MS Windows?
1 Mark(s)
Your Answer:
Paint
Paint
CD Player
CD Player
Disk Defragmentor
Disk Defragmentor
Volume Control
Volume Control
MS Word
MS Word
Which of following show document name and information?
1 Mark(s)
Your Answer:
Title Bar
Title Bar
Format
Format
Insert tab
Insert tab
None of these
None of these
Non return-to-zero-level (NRZ-L) and Non return-to-zero-invert (NRZ-I) both have an average signal rate of:
1 Mark(s)
Your Answer:
N
N
N/8
N/8
N/4
N/4
N/2
N/2
Computer line printer is faster than:
1 Mark(s)
Your Answer:
daisy wheel printer
daisy wheel printer
dot matrix printer
dot matrix printer
character printer
character printer
chain printer
chain printer
What function is used to create a new variable in a dplyr data frame based on existing variables?
1 Mark(s)
Your Answer:
create_var()
create_var()
mutate()
mutate()
new_variable()
new_variable()
add_column()
add_column()
Which of the following can be used to create a symbolic link?
1 Mark(s)
Your Answer:
os.symlink()
os.symlink()
os.symb_link()
os.symb_link()
os.symblin()
os.symblin()
os.ln()
os.ln()
Which of the following correctly describes a stack's push operation in terms of its effect on the stack?
1 Mark(s)
Your Answer:
Adds an element to the top of the stack
Adds an element to the top of the stack
Removes the top element of the stack
Removes the top element of the stack
Retrieves the top element without removal
Retrieves the top element without removal
Checks the stack size
Checks the stack size
How do you change column width to fit the contents?
1 Mark(s)
Your Answer:
Double-click the boundary to the right of the column heading
Double-click the boundary to the right of the column heading
Single-click to the boundary to the left of the column heading
Single-click to the boundary to the left of the column heading
Press ALT and single-click anywhere in the column
Press ALT and single-click anywhere in the column
None of these
None of these
The application layer provides the basis for:
1 Mark(s)
Your Answer:
email services
email services
frame division
frame division
file making
file making
code making
code making
If one "automatic" solution is the trivial solution. The solution of a linear homogeneous equation is a:
1 Mark(s)
Your Answer:
elementary function
elementary function
complementary function
complementary function
homogeneous function
homogeneous function
none of above
none of above
When assessing the table structure of an acquired set of tables with data, determining foreign keys is (part of) the:
1 Mark(s)
Your Answer:
first step.
first step.
second step.
second step.
third step.
third step.
fourth step.
fourth step.
What will be the output of the following Python code? x = (i for i in range(3)) for i in x: print(i)
1 Mark(s)
Your Answer:
0 1 2
0 1 2
error
error
0 1 2 0 1 2
0 1 2 0 1 2
none of the mentioned
none of the mentioned
FDMA stands for:
1 Mark(s)
Your Answer:
Frequency Division Multiple Access
Frequency Division Multiple Access
Fast Data Multiple Access
Fast Data Multiple Access
Frequency Data Multiple Access
Frequency Data Multiple Access
Fast Division Multiple Access
Fast Division Multiple Access
Which of the following is a read-only property?
1 Mark(s)
Your Answer:
PerformanceTiming.navigationStart
PerformanceTiming.navigationStart
PerformanceTiming.fetchStart
PerformanceTiming.fetchStart
PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
None of the mentioned
None of the mentioned
, & are the tags of …
1 Mark(s)
Your Answer:
list
list
text
text
body
body
table
table
What is the significance of the Hadoop Secondary NameNode in the architecture?
1 Mark(s)
Your Answer:
Failover for the NameNode
Failover for the NameNode
Store a backup of the entire HDFS metadata
Store a backup of the entire HDFS metadata
Manage computation resources
Manage computation resources
Manages ZooKeeper configurations
Manages ZooKeeper configurations
What is a specific instance of a baseline or configuration item ?
1 Mark(s)
Your Answer:
Software
Software
Configuration
Configuration
Version
Version
Status Accounting
Status Accounting
A durable transaction is one in which all committed changes are permanent.
1 Mark(s)
Your Answer:
True
True
False
False
Which method is used to check if all elements in a collection satisfy a condition in Ruby enumerators?
1 Mark(s)
Your Answer:
any?
any?
all?
all?
one?
one?
None of the above
None of the above
What is the purpose of image replacement?
1 Mark(s)
Your Answer:
To replace an image
To replace an image
To implement special effects
To implement special effects
Removal of image rollovers
Removal of image rollovers
Implementation of image rollovers
Implementation of image rollovers
Identify the process done in the below code snippet o = {x:1, y:{z:[false,null,""]}}; s = JSON.stringify(o); p = JSON.parse(s);
1 Mark(s)
Your Answer:
Object Encapsulation
Object Encapsulation
Object Serialization
Object Serialization
Object Abstraction
Object Abstraction
Object Encoding
Object Encoding
Which technology creates a secure tunnel over the internet?
1 Mark(s)
Your Answer:
VLAN
VLAN
NAT
NAT
VPN
VPN
DNS
DNS
Out of the following operators (^, *, +, &, $), the one having highest priority is . . . . . . . .
1 Mark(s)
Your Answer:
+
+
$
$
^
^
&
&
Which of the following are incorrect form of StringBuffer class constructor?
1 Mark(s)
Your Answer:
StringBuffer()
StringBuffer()
StringBuffer(int size)
StringBuffer(int size)
StringBuffer(String str)
StringBuffer(String str)
StringBuffer(int size , String str)
StringBuffer(int size , String str)
How can we connect to database in a web application?
1 Mark(s)
Your Answer:
oracle sql developer
oracle sql developer
toad
toad
JDBC template
JDBC template
mysql
mysql
For which of these storage engines are configuration options always built?
1 Mark(s)
Your Answer:
Falcon
Falcon
FEDERATED
FEDERATED
InnoDB
InnoDB
MyISAM
MyISAM
What are the keyboard shortcut keys to paste special?
1 Mark(s)
Your Answer:
ALT + H + V + F
ALT + H + V + F
ALT + H + V + P
ALT + H + V + P
ALT + H + V + O
ALT + H + V + O
ALT + H + V + S
ALT + H + V + S
If a tuple inserted into the view does not satisfy the view's where clause condition, the insertion is:
1 Mark(s)
Your Answer:
Inserted
Inserted
Queued
Queued
Stored
Stored
Rejected
Rejected
Which of the following techniques can be used to solve the N Queens problem iteratively?
1 Mark(s)
Your Answer:
Depth-First Search (DFS)
Depth-First Search (DFS)
Breadth-First Search (BFS)
Breadth-First Search (BFS)
Hill Climbing
Hill Climbing
Simulated Annealing
Simulated Annealing
A Decoder converts:
1 Mark(s)
Your Answer:
Binary to Decimal
Binary to Decimal
Decimal to Binary
Decimal to Binary
Hex to Octal
Hex to Octal
Text to Binary
Text to Binary
Numbers in R are generally treated as . . . . . . . . precision real numbers.
1 Mark(s)
Your Answer:
single
single
double
double
real
real
imaginary
imaginary
What is the primary function of Apache Flume in Hadoop?
1 Mark(s)
Your Answer:
Execute MapReduce jobs
Execute MapReduce jobs
Manage computation resources
Manage computation resources
Collect, aggregate, and transport large amounts of log data
Collect, aggregate, and transport large amounts of log data
Perform data analytics in Hadoop
Perform data analytics in Hadoop
Which function is used to select variables and observations from a given dataset?
1 Mark(s)
Your Answer:
Subset()
Subset()
Sample()
Sample()
While()
While()
Signal()
Signal()
Storage area for E-mail messages is called
1 Mark(s)
Your Answer:
folder
folder
file
file
mail box
mail box
directory
directory
Which device creates a collision domain per port?
1 Mark(s)
Your Answer:
Hub
Hub
Switch
Switch
Repeater
Repeater
Cable
Cable
What is the result of the expression "Hello".toUpperCase().toLowerCase() in Java?
1 Mark(s)
Your Answer:
"Hello"
"Hello"
"HELLO"
"HELLO"
"hello"
"hello"
None of These
None of These
In an AVL tree, what happens when a node has a balance factor of 0?
1 Mark(s)
Your Answer:
It is an internal node.
It is an internal node.
It needs to be rotated.
It needs to be rotated.
It is balanced and requires no changes.
It is balanced and requires no changes.
It is a leaf node.
It is a leaf node.
What is the result of the expression 5 > 3 ? "Yes" : "No" in Ruby?
1 Mark(s)
Your Answer:
Yes
Yes
No
No
5
5
3
3
What is the primary role of the Hadoop NodeManager in the YARN architecture?
1 Mark(s)
Your Answer:
Execute MapReduce jobs
Execute MapReduce jobs
Manage computation resources
Manage computation resources
Manage task execution in MapReduce jobs
Manage task execution in MapReduce jobs
Manage metadata of HDFS
Manage metadata of HDFS
Given input string = "ABCDABCATRYCARCABCSRT" and pattern string = "CAT". Find the first index of the pattern match using quick search algorithm.
1 Mark(s)
Your Answer:
2
2
6
6
11
11
14
14
A number of independent investigators have developed a team-oriented approach to requirements gathering that can be applied to establish the scope of a project called ?
1 Mark(s)
Your Answer:
JAD
JAD
CLASS
CLASS
FAST
FAST
None of the mentioned
None of the mentioned
Sally in data processing uses . . . . . . . . to cleanse and prepare the data.
1 Mark(s)
Your Answer:
Pig
Pig
Hive
Hive
HCatalog
HCatalog
Impala
Impala
Kilo means in SI is one:
1 Mark(s)
Your Answer:
thousand
thousand
hundred
hundred
ten
ten
million
million
Which of the following property adds padding to the top of an element?
1 Mark(s)
Your Answer:
height
height
padding-height
padding-height
top
top
padding-top
padding-top
Which is the correct format of an Email address?
1 Mark(s)
Your Answer:
You&website.com
You&website.com
You@website.com
You@website.com
You$com.pk
You$com.pk
None of these Answer
None of these Answer
How do you declare a reference variable in C++?
1 Mark(s)
Your Answer:
type &ref;
type &ref;
ref type;
ref type;
type ref;
type ref;
&type ref;
&type ref;
What will be the output of the following Java code? class output { public static void main(String args[]) { char c[]={'a', '1', 'b' ,' ' ,'A' , '0'}; for (int i = 0; i
1 Mark(s)
Your Answer:
a is a lower case Letter is White space character
a is a lower case Letter is White space character
b is a lower case Letter is White space character
b is a lower case Letter is White space character
a is a lower case Letter A is an upper case Letter
a is a lower case Letter A is an upper case Letter
a is a lower case Letter 0 is a digit
a is a lower case Letter 0 is a digit
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.