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.
JavaScript Mock Test 5
Exam Duration:
01:09:00
JavaScript Mock Test 5
: Question
1
of 77
In Java, what is the result of the expression `new Integer(5).equals(5)`?
1 Mark(s)
Your Answer:
Compilation error
Compilation error
`true`
`true`
Runtime error
Runtime error
None of These
None of These
Which of the following is not a typical environment in communication facilitation ?
1 Mark(s)
Your Answer:
Multiple teams
Multiple teams
Multiple user groups
Multiple user groups
Multiple fests
Multiple fests
Multiple locations
Multiple locations
What is the purpose of the 'strcpy' function in C?
1 Mark(s)
Your Answer:
Copies one string to another
Copies one string to another
Compares two strings
Compares two strings
Searches for a substring
Searches for a substring
Converts a string to an integer
Converts a string to an integer
Address of information is registered in?
1 Mark(s)
Your Answer:
Accumulator
Accumulator
Memory Data Register
Memory Data Register
Memory Address Register
Memory Address Register
Control Unit
Control Unit
Which statement is true regarding abs() and labs()?
1 Mark(s)
Your Answer:
The abs() function is similar to the labs() function, except that the argument and the returned value each of them have type long int
The abs() function is similar to the labs() function, except that the argument and the returned value each of them have type long int
The abs() function is not similar to the labs() function, except that the argument and the returned value in both functions have type long int
The abs() function is not similar to the labs() function, except that the argument and the returned value in both functions have type long int
The abs() function is similar to the labs() function, except that the argument and the returned value each have type short int
The abs() function is similar to the labs() function, except that the argument and the returned value each have type short int
The abs() function is not similar to the labs() function, except that the argument and the returned value in both function have type short int
The abs() function is not similar to the labs() function, except that the argument and the returned value in both function have type short int
GUI interface of the operating system is an abbreviation of:
1 Mark(s)
Your Answer:
graphics user interface
graphics user interface
graphical user interface
graphical user interface
graphical user interfacing
graphical user interfacing
graphics user interfacing
graphics user interfacing
What is the time complexity of extracting the minimum element from a min-heap?
1 Mark(s)
Your Answer:
O(1)
O(1)
O(log n)
O(log n)
O(n)
O(n)
O(n log n)
O(n log n)
How do you create a time series plot in R for a numeric variable values with corresponding time points time?
1 Mark(s)
Your Answer:
time_series(values ~ time)
time_series(values ~ time)
plot_time_series(values, time)
plot_time_series(values, time)
geom_line(mapping = aes(x = time, y = values))
geom_line(mapping = aes(x = time, y = values))
tsplot(values, time)
tsplot(values, time)
How do you open the Header and Footer toolbar in MS Word?
1 Mark(s)
Your Answer:
On the Insert tab, click Header and Footer
On the Insert tab, click Header and Footer
Right-click any toolbar and click Header and Footer
Right-click any toolbar and click Header and Footer
On the View tab, click Toolbars and select Header and Footer from the list of toolbars
On the View tab, click Toolbars and select Header and Footer from the list of toolbars
None of these
None of these
For testing we should use . . . . . . . .
1 Mark(s)
Your Answer:
document.write()
document.write()
console.log()
console.log()
window.alert()
window.alert()
innerHTML
innerHTML
Which keyword is used to define a constant variable in C++?
1 Mark(s)
Your Answer:
static
static
volatile
volatile
const
const
fixed
fixed
Consider the following code snippet var sets = com.davidflanagan.collections.sets;
1 Mark(s)
Your Answer:
Importing a single module
Importing a single module
Importing a module partially
Importing a module partially
Importing a namespace
Importing a namespace
Importing the entire module
Importing the entire module
What will be the output of the following Python statement? >>>chr(ord('A'))
1 Mark(s)
Your Answer:
A
A
B
B
a
a
Error
Error
A supertype is an entity type that shares common attributes or relationships distinct from other subgroupings.
1 Mark(s)
Your Answer:
True
True
False
False
What is the correct way to access structure members through a pointer in C++?
1 Mark(s)
Your Answer:
Using the star operator (*)
Using the star operator (*)
Using the double colon operator (::)
Using the double colon operator (::)
Using the dot operator (.)
Using the dot operator (.)
Using the arrow operator (->)
Using the arrow operator (->)
Variations in sliver mass in drawframe are detected by:
1 Mark(s)
Your Answer:
measurement device
measurement device
variation device
variation device
correction scale
correction scale
measurement scale
measurement scale
The comparison operator 'Like' is used after the clause:
1 Mark(s)
Your Answer:
Define clause
Define clause
From clause
From clause
Select clause
Select clause
Where clause
Where clause
What is the primary difference between C and C++?
1 Mark(s)
Your Answer:
C is faster
C is faster
C++ supports OOP
C++ supports OOP
C++ has no pointers
C++ has no pointers
C is interpreted
C is interpreted
What will be the output of the following Python code? str = input("Enter your input: "); print "Received input is : ", str
1 Mark(s)
Your Answer:
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [x*5 for x in range(2,10,2)]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [x*5 for x in range(2,10,2)]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 30, 20, 40]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 30, 20, 40]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 10, 30, 40]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 10, 30, 40]
None of the mentioned
None of the mentioned
Which of the following is keyboard input element?
1 Mark(s)
Your Answer:
<mark>
<mark>
<kbd>
<kbd>
<dfn>
<dfn>
<em>
<em>
The light pen was developed in_________________?
1 Mark(s)
Your Answer:
1950
1950
1942
1942
1948
1948
1956
1956
The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank.
1 Mark(s)
Your Answer:
–enable-limit
–enable-limit
-enable-memory-limit
-enable-memory-limit
–enable-memory-limit
–enable-memory-limit
-memory-limit
-memory-limit
Choose ".NET class" name from which data type "UInt" is derived?
1 Mark(s)
Your Answer:
System.Int16
System.Int16
System.UInt32
System.UInt32
System.UInt64
System.UInt64
System.UInt16
System.UInt16
There are some restrictions on the recursive query in a recursive view, the query should be:
1 Mark(s)
Your Answer:
Increased and decreasing
Increased and decreasing
Stable
Stable
Static
Static
Monotonic
Monotonic
When a gas is cooled or compressed it becomes a:
1 Mark(s)
Your Answer:
solid
solid
gas
gas
liquid
liquid
semi-solid
semi-solid
What does the slice_before method do in Ruby enumerators?
1 Mark(s)
Your Answer:
Slices a collection based on a given condition
Slices a collection based on a given condition
Removes elements from a collection before a given condition
Removes elements from a collection before a given condition
Removes elements from a collection after a given condition
Removes elements from a collection after a given condition
Splits a collection into slices before elements that satisfy a given condition
Splits a collection into slices before elements that satisfy a given condition
In Message Integrity, Secure Hash Algorithm 1 (SHA-l) hash algorithms create an N-bit message-digest out of a message of:
1 Mark(s)
Your Answer:
512 bit blocks
512 bit blocks
1001 bit blocks
1001 bit blocks
1510 bit blocks
1510 bit blocks
2020 bit blocks
2020 bit blocks
Multiple inheritance leaves room for a derived class to have:
1 Mark(s)
Your Answer:
dynamic members
dynamic members
private members
private members
public members
public members
ambiguous members
ambiguous members
How many strategies are followed to solve a dynamic equivalence problem?
1 Mark(s)
Your Answer:
1
1
2
2
3
3
4
4
. . . . . . . . is a software development collaboration tool.
1 Mark(s)
Your Answer:
Buildr
Buildr
Cassandra
Cassandra
Bloodhound
Bloodhound
All of the mentioned
All of the mentioned
Which control structure is used to repeatedly execute a block of code in C?
1 Mark(s)
Your Answer:
for loop
for loop
if statement
if statement
switch case
switch case
while loop
while loop
Which of the following functions return absolute value of a variable?
1 Mark(s)
Your Answer:
Abs()
Abs()
Absolute()
Absolute()
absolutevariable()
absolutevariable()
None of the mentioned
None of the mentioned
Which of the following TCP/IP protocol is used for transferring electronic mail messages from one machine to another?
1 Mark(s)
Your Answer:
FTP
FTP
SNMP
SNMP
SMTP
SMTP
RPC
RPC
None of the above
None of the above
Are the following: myVariable MyVariable MYVARIABLE:
1 Mark(s)
Your Answer:
Same variable names
Same variable names
Valid variable names
Valid variable names
Different variable names
Different variable names
Both c and d
Both c and d
In Access to reduce the height of the selected control
1 Mark(s)
Your Answer:
SHIFT+RIGHT ARROW
SHIFT+RIGHT ARROW
SHIFT+DOWN ARROW
SHIFT+DOWN ARROW
DOWN ARROW or CTRL+DOWN ARROW
DOWN ARROW or CTRL+DOWN ARROW
None of these
None of these
What will be the output of the following PHP code ? <?php $x; for ($x = -3; $x 5; ++$x) { print ++$x; } ?>
1 Mark(s)
Your Answer:
-3-4-5
-3-4-5
-3-4
-3-4
infinite loop
infinite loop
no output
no output
What does the "ref" keyword allow in C#?
1 Mark(s)
Your Answer:
Returning multiple values
Returning multiple values
Passing parameters by reference
Passing parameters by reference
Passing parameters by pointer
Passing parameters by pointer
None of the above
None of the above
Which method is commonly used to assert that a certain exception is raised in RSpec?
1 Mark(s)
Your Answer:
assert_raises(ExceptionClass) { ... }
assert_raises(ExceptionClass) { ... }
expect { ... }.to throw_symbol(:exception_symbol)
expect { ... }.to throw_symbol(:exception_symbol)
expect { ... }.to raise_error(ExceptionClass)
expect { ... }.to raise_error(ExceptionClass)
assert_throw(:exception_symbol) { ... }
assert_throw(:exception_symbol) { ... }
An organ which is the most important articulator of speech is:
1 Mark(s)
Your Answer:
eyes
eyes
nose
nose
tongue
tongue
face
face
What does the span of time waiting for the page to be useful depend on?
1 Mark(s)
Your Answer:
Runtime performance
Runtime performance
Web performance
Web performance
Speed
Speed
None of the mentioned
None of the mentioned
In real-time interactive audio-video, data are stored in the buffer at a possibly variable:
1 Mark(s)
Your Answer:
pixels
pixels
packets
packets
rates
rates
bytes
bytes
To add a header or footer to your handout, you can use
1 Mark(s)
Your Answer:
The title master
The title master
The slide master
The slide master
The handout master
The handout master
All of above
All of above
Which of the following markup is correct? i. <b><i>is in error as tags cross</b></i> ii. <b><i>is not since tags nest</i></b>
1 Mark(s)
Your Answer:
i
i
ii
ii
i and ii
i and ii
None of the mentioned
None of the mentioned
Which of the following is a thread management library in C++?
1 Mark(s)
Your Answer:
pthread
pthread
std::thread
std::thread
thread.h
thread.h
concurrent.h
concurrent.h
What is the purpose of the gem uninstall gem_name -I command in Ruby?
1 Mark(s)
Your Answer:
Removes all installed versions of the gem
Removes all installed versions of the gem
Installs the gem without checking for dependencies
Installs the gem without checking for dependencies
Uninstalls the gem without removing its dependencies
Uninstalls the gem without removing its dependencies
Reinstalls the gem without updating the Gemfile.lock
Reinstalls the gem without updating the Gemfile.lock
Which is the true statement with respect to the function longjmp()?
1 Mark(s)
Your Answer:
the function where setjmp() was called has terminated, then the results are undefined
the function where setjmp() was called has terminated, then the results are undefined
the function where setjmp() was called has terminated, then the results are defined
the function where setjmp() was called has terminated, then the results are defined
the function where jmp_buf was called has terminated, then the results are undefined
the function where jmp_buf was called has terminated, then the results are undefined
the function where jmp_buf was called has terminated, then the results are defined
the function where jmp_buf was called has terminated, then the results are defined
Inverse Laplace transform of F(s)=(4s+32)/(s2-16) is:
1 Mark(s)
Your Answer:
4cos4t+8sin4t
4cos4t+8sin4t
4sin4t+8sin4t
4sin4t+8sin4t
4cosh4t+8sin4t
4cosh4t+8sin4t
4cosh4t+8sinh4t
4cosh4t+8sinh4t
Which of the following is correct to assign pointer to pointer?
1 Mark(s)
Your Answer:
**p = &a;
**p = &a;
int *q = &p;
int *q = &p;
int **q = &p;
int **q = &p;
int &q = &p;
int &q = &p;
If the value of the code subfield of control field for S frame is 00, it is:
1 Mark(s)
Your Answer:
Selective Reject S-frame
Selective Reject S-frame
Reject S-frame
Reject S-frame
Receive Not Ready S-frame
Receive Not Ready S-frame
Receive Ready S-frame
Receive Ready S-frame
Once text has been cut to the clipboard, you can ...... that text into another document
1 Mark(s)
Your Answer:
Paste
Paste
Copy
Copy
Transfer
Transfer
None of the above
None of the above
Which break is used to create different headers on different pages in MS Word?
1 Mark(s)
Your Answer:
Page Break
Page Break
Column Break
Column Break
Section Break
Section Break
None of these
None of these
__del__ method is used to destroy instances of a class.
1 Mark(s)
Your Answer:
True
True
False
False
Which test refers to the retesting of a unit, integration and system after modification, in order to ascertain that the change has not introduced new faults ?
1 Mark(s)
Your Answer:
Regression Test
Regression Test
Smoke Test
Smoke Test
Alpha Test
Alpha Test
Beta Test
Beta Test
SQL allows the creation of temporary tables using the command:
1 Mark(s)
Your Answer:
create temporary table
create temporary table
Define temporary table
Define temporary table
declare temporary table
declare temporary table
modify temporary table
modify temporary table
What does the character class `[A-Za-z]` match in a regular expression?
1 Mark(s)
Your Answer:
Any special character
Any special character
Any uppercase or lowercase letter
Any uppercase or lowercase letter
Any whitespace character
Any whitespace character
None of These
None of These
Atomic number of Argon is:
1 Mark(s)
Your Answer:
13
13
95
95
18
18
20
20
Which normal form allows no partial dependencies?
1 Mark(s)
Your Answer:
1NF
1NF
2NF
2NF
3NF
3NF
BCNF
BCNF
Which of the following network transports doesn’t PHP support?
1 Mark(s)
Your Answer:
tcp
tcp
udp
udp
udg
udg
pdc
pdc
unix
unix
Which of the following is NOT a valid HTTP status code in ASP.NET Web API?
1 Mark(s)
Your Answer:
300 (Multiple Choices)
300 (Multiple Choices)
401 (Unauthorized)
401 (Unauthorized)
502 (Bad Gateway)
502 (Bad Gateway)
204 (No Content)
204 (No Content)
In a computer, cell address is represented as:
1 Mark(s)
Your Answer:
AA23
AA23
25
25
3B
3B
C5
C5
Uniform memory access for accessing memory from any unit takes:
1 Mark(s)
Your Answer:
same time
same time
different time
different time
High amount of time
High amount of time
Small amount of time
Small amount of time
Which shortcut key will shutdown your computer?
1 Mark(s)
Your Answer:
Alt+F4
Alt+F4
Ctrl+F5
Ctrl+F5
Ctrl+F4
Ctrl+F4
Alt+F5
Alt+F5
Which shortcut key is used to lock the computer immediately in Windows?
1 Mark(s)
Your Answer:
Ctrl + Alt + Delete
Ctrl + Alt + Delete
Alt + F4
Alt + F4
Windows Key + L
Windows Key + L
None of these
None of these
The pointer used in the mblen() function points to the . . . . . . . .
1 Mark(s)
Your Answer:
first byte of multibyte character
first byte of multibyte character
last byte of multibyte character
last byte of multibyte character
middle byte of multibyte character
middle byte of multibyte character
no pointer is used in mblen function
no pointer is used in mblen function
MySQL is pronounced "my See-quel."
1 Mark(s)
Your Answer:
True
True
False
False
In Ring network, Unidirectional Path-Protection Switched Ring (UPSR) uses 2 rings for working lines and Bidirectional Line Switched Ring (BLSR) uses:
1 Mark(s)
Your Answer:
4 rings
4 rings
2 rings
2 rings
6 rings
6 rings
8 rings
8 rings
SMS stands for ____?
1 Mark(s)
Your Answer:
Send Message Send
Send Message Send
Short Message Service
Short Message Service
Small Message Send
Small Message Send
None of these
None of these
Which of the following is NOT a generic type parameter in Java?
1 Mark(s)
Your Answer:
``
``
``
``
``
``
None of These
None of These
Home Key uses for
1 Mark(s)
Your Answer:
Moves the cursor beginning of the document
Moves the cursor beginning of the document
Moves the cursor beginning of the paragraph
Moves the cursor beginning of the paragraph
Moves the cursor beginning of the screen
Moves the cursor beginning of the screen
Moves the cursor beginning of the line
Moves the cursor beginning of the line
In SI system the unit for speed is written as:
1 Mark(s)
Your Answer:
meter
meter
meter/sec
meter/sec
meter/hour
meter/hour
km/sec
km/sec
target attribute cannot have?
1 Mark(s)
Your Answer:
_blank
_blank
_self
_self
_parent
_parent
_color
_color
System.out.print("Good Luck" + ); This statement missed:
1 Mark(s)
Your Answer:
ln in print command
ln in print command
variable after +
variable after +
comma
comma
single quotes
single quotes
MS PowerPoint is used for _______?
1 Mark(s)
Your Answer:
Presentation
Presentation
Drafting
Drafting
Worksheet
Worksheet
None of these
None of these
The fall in the rate of photosynthesis takes place when the temperature rises above:
1 Mark(s)
Your Answer:
40 °C
40 °C
30 °C
30 °C
20 °C
20 °C
25 °C
25 °C
What is the Entity-Relationship (ER) model used for?
1 Mark(s)
Your Answer:
Coding SQL
Coding SQL
Conceptual Design
Conceptual Design
Physical Storage
Physical Storage
User Interface
User Interface
BIOS contains another set of routines, which ensure that the system is functioning properly and all expected hardware devices are present, this routine is called:
1 Mark(s)
Your Answer:
PROM
PROM
EPROM
EPROM
POST
POST
EEPROM
EEPROM
Except for one metal i.e. Mercury, rest of the metals are solids at:
1 Mark(s)
Your Answer:
oven
oven
room temperature
room temperature
freezing point
freezing point
sunshine
sunshine
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.