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.
JavaScript Mock Test 1
Exam Duration:
00:39:00
JavaScript Mock Test 1
: Question
1
of 43
What does the "out" keyword do in C# method parameters?
1 Mark(s)
Your Answer:
To pass parameters by reference
To pass parameters by reference
To pass parameters by value
To pass parameters by value
To indicate the return value
To indicate the return value
To indicate an output parameter
To indicate an output parameter
If M is the mass of object and R is radius, then rotational inertia of hoop about any diameter is:
1 Mark(s)
Your Answer:
2/5 MR2
2/5 MR2
2/3 MR2
2/3 MR2
2/3 MR2
2/3 MR2
1/2 MR2
1/2 MR2
Python uses ______ for block structure.
1 Mark(s)
Your Answer:
Indentation
Indentation
Braces
Braces
Keywords
Keywords
Semicolons
Semicolons
IP Spoofing involves:
1 Mark(s)
Your Answer:
Faking IP
Faking IP
Stealing IP
Stealing IP
Blocking IP
Blocking IP
Encrypting IP
Encrypting IP
What is the result of the expression 10 == 10 in C#?
1 Mark(s)
Your Answer:
FALSE
FALSE
10 == 10
10 == 10
10 != 10
10 != 10
TRUE
TRUE
Chalk consists of:
1 Mark(s)
Your Answer:
calcium
calcium
carbon dioxide
carbon dioxide
oxygen
oxygen
all of them
all of them
Which of the following is not the value for align attribute?
1 Mark(s)
Your Answer:
justify
justify
char
char
middle
middle
left
left
Which of the following is not the way of ensuring that even if the hardware fails, you will still be able to access your data in computer?
1 Mark(s)
Your Answer:
backup all data
backup all data
run anti-virus software
run anti-virus software
make sure data is password
make sure data is password
store data on cloud storage
store data on cloud storage
In which situation is it appropriate to use the Floyd-Warshall algorithm?
1 Mark(s)
Your Answer:
When the graph is sparse.
When the graph is sparse.
When you need the shortest path between all pairs of nodes.
When you need the shortest path between all pairs of nodes.
When the graph is directed only.
When the graph is directed only.
When the graph is sparse.
When the graph is sparse.
Given a pattern of length- 5 window, find the spurious hit in the given text string. Pattern: 3 1 4 1 5 Modulus: 13 Index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Text: 2 3 5 9 0 2 3 1 4 1 5 2 6 7 3 9 9 2 1 3 9
1 Mark(s)
Your Answer:
6-10
6-10
12-16
12-16
3-7
3-7
13-17
13-17
What is the keyword used to exit a loop prematurely in C#?
1 Mark(s)
Your Answer:
stop
stop
continue
continue
break
break
exit
exit
Which of the following variable violates the definition of encapsulation?
1 Mark(s)
Your Answer:
Array variables
Array variables
Local variables
Local variables
Global variables
Global variables
Public variables
Public variables
Which of the following is not a diagram studied in Requirement Analysis ?
1 Mark(s)
Your Answer:
Use Cases
Use Cases
Entity Relationship Diagram
Entity Relationship Diagram
State Transition Diagram
State Transition Diagram
Activity Diagram
Activity Diagram
What is the purpose of the Hadoop MapReduce "Combiner Optimization" in advanced MapReduce?
1 Mark(s)
Your Answer:
Combine intermediate key-value pairs on the mapper side
Combine intermediate key-value pairs on the mapper side
Aggregate values on the reducer side
Aggregate values on the reducer side
Sort and shuffle data
Sort and shuffle data
Distribute data to reducers
Distribute data to reducers
What is the number of groups in the modern periodic table?
1 Mark(s)
Your Answer:
18
18
17
17
10
10
12
12
In a Red-Black tree, what is the color of the newly inserted node?
1 Mark(s)
Your Answer:
Black
Black
Can be either red or black
Can be either red or black
It varies based on the position
It varies based on the position
Red
Red
What is the scope of a variable declared inside a `if` block?
1 Mark(s)
Your Answer:
Global
Global
Block/Local
Block/Local
Function
Function
File
File
In the Internet model, the port numbers are:
1 Mark(s)
Your Answer:
16-bit integers
16-bit integers
18-bit integers
18-bit integers
20-bit integers
20-bit integers
22-bit integers
22-bit integers
What is the purpose of the trim() method of a String object in Java?
1 Mark(s)
Your Answer:
To remove all spaces from the string
To remove all spaces from the string
To concatenate two strings
To concatenate two strings
To extract a substring from the string
To extract a substring from the string
To remove leading and trailing whitespace
To remove leading and trailing whitespace
What is the output of printf("%d", sizeof("Hello")); in C?
1 Mark(s)
Your Answer:
8
8
6
6
4
4
2
2
What is the purpose of the 'typedef' keyword in C++ structures?
1 Mark(s)
Your Answer:
To create a pointer to a structure
To create a pointer to a structure
To initialize structure members
To initialize structure members
To create an alias for a data type
To create an alias for a data type
To define a new structure
To define a new structure
The following syntax is also used for unless conditional statement. code unless conditional
1 Mark(s)
Your Answer:
True
True
False
False
The Core-Based Tree (CBT) is a:
1 Mark(s)
Your Answer:
Group Routing Tree
Group Routing Tree
Group Shared Tree
Group Shared Tree
Group Formed Tree
Group Formed Tree
Group Protocol Tree
Group Protocol Tree
Data analytics scripts are written in . . . . . . . .
1 Mark(s)
Your Answer:
Hive
Hive
CQL
CQL
PigLatin
PigLatin
Java
Java
What will be the output of the following PHP code ? <?php $x = 3, 4, 5, 6; echo "$x"; ?>
1 Mark(s)
Your Answer:
3
3
4
4
6
6
Error
Error
The basic unit of computer storage is:
1 Mark(s)
Your Answer:
byte
byte
nibble
nibble
bit
bit
word
word
In differential equations, which represents physical quantities:
1 Mark(s)
Your Answer:
functions
functions
derivatives
derivatives
equations
equations
time
time
In a bus topology, the device linking all the nodes in a network is:
1 Mark(s)
Your Answer:
router
router
drop line
drop line
backbone
backbone
hub
hub
Raman spectroscopy has become an important tool for studying fibre structure because of the:
1 Mark(s)
Your Answer:
Raman spectroscope
Raman spectroscope
Raman microscope
Raman microscope
Raman machine
Raman machine
Raman electroscope
Raman electroscope
Consider the following code snippet function printArray(a) { var len = a.length, i = 0; if (len == 0) console.log("Empty Array"); else { do { console.log(a[i]); } while (++i len); } }
1 Mark(s)
Your Answer:
Prints the numbers in the array in order
Prints the numbers in the array in order
Prints the numbers in the array in the reverse order
Prints the numbers in the array in the reverse order
Prints 0 to the length of the array
Prints 0 to the length of the array
Prints “Empty Array”
Prints “Empty Array”
No two attributes of the same entity type should have the same name.
1 Mark(s)
Your Answer:
True
True
False
False
Which cable type supports the longest transmission distance?
1 Mark(s)
Your Answer:
Coaxial
Coaxial
Cat5e
Cat5e
Cat6
Cat6
Single-mode Fiber
Single-mode Fiber
Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed ?
1 Mark(s)
Your Answer:
Regression Testing
Regression Testing
Integration testing
Integration testing
Smoke testing
Smoke testing
Validation testing
Validation testing
Determine Output: void main() { char p[]="%dn"; p[1] = 'c'; printf(p, 65); }
1 Mark(s)
Your Answer:
65
65
c
c
A
A
Error
Error
A host or router can join a group by sending a:
1 Mark(s)
Your Answer:
initiative report
initiative report
joining report
joining report
membership report message
membership report message
membership leave report
membership leave report
Printer which uses temperature variations to achieve different colors is:
1 Mark(s)
Your Answer:
dye-sublimation
dye-sublimation
thermal-wax
thermal-wax
laser
laser
inkjet
inkjet
Which method is used to obtain the “drawing context” object ?
1 Mark(s)
Your Answer:
getContext()
getContext()
getObject()
getObject()
get()
get()
getDrawing()
getDrawing()
The latest HTML standard is …
1 Mark(s)
Your Answer:
XML
XML
SGML
SGML
HTML 4.0
HTML 4.0
HTML 5.0
HTML 5.0
If particle travels around a circle or a circular arc at constant speed, it's motion is termed as:
1 Mark(s)
Your Answer:
distributive circular motion
distributive circular motion
variable circular motion
variable circular motion
uniform linear motion
uniform linear motion
uniform circular motion
uniform circular motion
Which of the following is used for spread radius?
1 Mark(s)
Your Answer:
blur
blur
spread
spread
color
color
v-offset
v-offset
Which installation strategy is a variation on the abrupt and parallel conversion ?
1 Mark(s)
Your Answer:
location conversion
location conversion
staged conversion
staged conversion
partial conversion
partial conversion
hierarchical conversion
hierarchical conversion
Which key word is used to include namespaces in a program:
1 Mark(s)
Your Answer:
include
include
using
using
import
import
invoke
invoke
Which tool is commonly used for documenting Ruby code?
1 Mark(s)
Your Answer:
DocuRuby
DocuRuby
RubyDoc
RubyDoc
RDoc
RDoc
YARD (Yet Another Ruby Documentation Tool)
YARD (Yet Another Ruby Documentation Tool)
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.