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
:
46
:
00
Q:
1
/
51
🤖
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.
Database Systems Mock Test 10
Exam Duration:
00:46:00
Database Systems Mock Test 10
: Question
1
of 51
The number of addresses in the block can be found by using the formula:
1 Mark(s)
Your Answer:
232+3n
232+3n
232+n
232+n
232-n
232-n
232-2n
232-2n
In C#, what is the purpose of the Action delegate?
1 Mark(s)
Your Answer:
Represents a delegate that encapsulates a method that takes no parameters and does not return a value
Represents a delegate that encapsulates a method that takes no parameters and does not return a value
Represents a delegate that encapsulates a method that takes no parameters and returns a value
Represents a delegate that encapsulates a method that takes no parameters and returns a value
Represents a delegate that encapsulates a method that has two parameters and returns a value
Represents a delegate that encapsulates a method that has two parameters and returns a value
Represents a delegate that can encapsulate a method with a single parameter and does not return a value
Represents a delegate that can encapsulate a method with a single parameter and does not return a value
Is the following Python code valid? a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c)
1 Mark(s)
Your Answer:
False
False
True
True
Syntax error for issuperset() method
Syntax error for issuperset() method
Error, no method called issuperset() exists
Error, no method called issuperset() exists
In C#, which method is used to read the entire contents of a file into a string?
1 Mark(s)
Your Answer:
ReadText()
ReadText()
ReadString()
ReadString()
ReadLines()
ReadLines()
ReadAllText()
ReadAllText()
Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?
1 Mark(s)
Your Answer:
%hx for small case letters and %HX for capital letters
%hx for small case letters and %HX for capital letters
%x for small case letters and %X for capital letters
%x for small case letters and %X for capital letters
No ease of doing it. C# don't provides specifier like %x or %O to be used with ReadLine() OR WriteLine(). We have to write our own function
No ease of doing it. C# don't provides specifier like %x or %O to be used with ReadLine() OR WriteLine(). We have to write our own function
%Ox for small case letters and %OX for capital letters
%Ox for small case letters and %OX for capital letters
Angles subtended by the arcs helps in calculation of the fibre's:
1 Mark(s)
Your Answer:
spiral angle
spiral angle
perpendicular angle
perpendicular angle
diameter
diameter
thickness
thickness
What will be the output of the following Python code? x = ['ab', 'cd'] print(len(map(list, x)))
1 Mark(s)
Your Answer:
[2, 2]
[2, 2]
2
2
4
4
none of the mentioned
none of the mentioned
Which of the following is the basic unit of a PowerPoint presentation?
1 Mark(s)
Your Answer:
Slide
Slide
Window
Window
Document
Document
Picture
Picture
A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.
1 Mark(s)
Your Answer:
True
True
False
False
Which of the following works as a sidebar?
1 Mark(s)
Your Answer:
<aside>
<aside>
<footer>
<footer>
<details>
<details>
<section>
<section>
A compiler can detect which type of error?
1 Mark(s)
Your Answer:
Logical error
Logical error
Runtime error
Runtime error
Syntax error
Syntax error
All of these
All of these
The station on a wireless Additive Links On-line Hawaii Area (ALOHA) network is maximum of:
1 Mark(s)
Your Answer:
400 Km
400 Km
500 Km
500 Km
600 Km
600 Km
700 Km
700 Km
XML technology is a hybrid of document processing and database processing.
1 Mark(s)
Your Answer:
True
True
False
False
How many read-only attributes are present in the navigator object?
1 Mark(s)
Your Answer:
1
1
2
2
3
3
4
4
All HTML documents must start with a:
1 Mark(s)
Your Answer:
Header tag
Header tag
Body tag
Body tag
Title tag
Title tag
Document type declaration
Document type declaration
Select the Keyword which supports the run time type identification?
1 Mark(s)
Your Answer:
is, as
is, as
as, typeof
as, typeof
Both is, as & as, typeof
Both is, as & as, typeof
Only is, as
Only is, as
Which of the following best describes polymorphism?
1 Mark(s)
Your Answer:
Ability of a class to derive members of another class as a part of its own definition
Ability of a class to derive members of another class as a part of its own definition
Means of bundling instance variables and methods in order to restrict access to certain class members
Means of bundling instance variables and methods in order to restrict access to certain class members
Focuses on variables and passing of variables to functions
Focuses on variables and passing of variables to functions
Allows for objects of different types and behaviour to be treated as the same general type
Allows for objects of different types and behaviour to be treated as the same general type
The nose is the organ that helps us to distinguish between:
1 Mark(s)
Your Answer:
temperature
temperature
views
views
tastes
tastes
smells
smells
What will be the output of the following PHP code ? <?php $color1 = "1"; $color2 = "1"; echo "$color1" + "$color2"; ?>
1 Mark(s)
Your Answer:
11
11
2
2
0
0
1
1
What happens if a user forgets to define a constructor inside a class?
1 Mark(s)
Your Answer:
Error occurs
Error occurs
Segmentation fault
Segmentation fault
Objects are not created properly
Objects are not created properly
Compiler provides a default constructor to avoid faults/errors
Compiler provides a default constructor to avoid faults/errors
Computer derives its basic strength from:
1 Mark(s)
Your Answer:
speed
speed
memory
memory
accuracy
accuracy
all of these
all of these
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 is a graphical representation of data?
1 Mark(s)
Your Answer:
Chart
Chart
Spreadsheet
Spreadsheet
Database
Database
None of these
None of these
What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class A { static int a; public: void change(int i){ a = i; } void value_of_a(){ cout<<a; } }; int A::a = 5; int main(int argc, char const *argv[]) { A a1 = A(); A a2 = A(); A a3 = A(); a1.change(10); a1.value_of_a(); a2.value_of_a(); a3.value_of_a(); return 0; }
1 Mark(s)
Your Answer:
1055
1055
555
555
101010
101010
51010
51010
The two elements i.e. carbon and hydrogen, are foundation units of:
1 Mark(s)
Your Answer:
plastic bucket
plastic bucket
limestone
limestone
chalk
chalk
marble
marble
Which of the following is internal list of prefixes?
1 Mark(s)
Your Answer:
Modernizr._prefixes
Modernizr._prefixes
Modernizr.prefixedCSS value
Modernizr.prefixedCSS value
Modernizr.prefixedCSS
Modernizr.prefixedCSS
Modernizr.prefixed
Modernizr.prefixed
Static programs of the computer system are stored in:
1 Mark(s)
Your Answer:
RAM
RAM
ROM
ROM
hard disk
hard disk
CD
CD
Overloading the addition (+) operator is correct function name OF:
1 Mark(s)
Your Answer:
operator(+)
operator(+)
operator_+
operator_+
operator+
operator+
operator:+
operator:+
Which of the following is a self - balancing binary search tree?
1 Mark(s)
Your Answer:
2-3 tree
2-3 tree
Threaded binary tree
Threaded binary tree
AA tree
AA tree
Treap
Treap
Atomic number of Hydrogen is:
1 Mark(s)
Your Answer:
30
30
1
1
65
65
23
23
What does the qqnorm() function in R do?
1 Mark(s)
Your Answer:
Plots a quantile-quantile plot for normality assessment
Plots a quantile-quantile plot for normality assessment
Generates a random sample from a normal distribution
Generates a random sample from a normal distribution
Creates a normal probability plot
Creates a normal probability plot
Quantifies the normal distribution of a variable
Quantifies the normal distribution of a variable
What is the result of the following code snippet? try { int[] arr = new int[5]; int value = arr[10]; } catch (ArrayIndexOutOfBoundsException e) { System.out.println("Exception Caught!"); } finally { System.out.println("Finally Block!"); }
1 Mark(s)
Your Answer:
Compilation error
Compilation error
Exception Caught!
Exception Caught!
Finally Block!
Finally Block!
Exception Caught! Finally Block!
Exception Caught! Finally Block!
In C#, which keyword is used to define a method that can be overridden in derived classes?
1 Mark(s)
Your Answer:
virtual
virtual
overridable
overridable
extendable
extendable
override
override
To copy a picture of the screen to the Clipboard use:_________ Command?
1 Mark(s)
Your Answer:
Alt Key
Alt Key
Shift key
Shift key
Print screen
Print screen
None of these
None of these
Output of following C++ code will be? C++ #include <iostream> using namespace std; class X { public: int x; }; int main() { X a = {10}; X b = a; cout << a.x << " " << b.x; return 0; }
1 Mark(s)
Your Answer:
Compiler Error
Compiler Error
10 followed by Garbage Value
10 followed by Garbage Value
10 0
10 0
Enzyme complexes joins with glucose molecules into long chain cellulose molecules in a:
1 Mark(s)
Your Answer:
small cell
small cell
big molecule
big molecule
growing cell
growing cell
constant cell
constant cell
In Hadoop, what is the purpose of the Hadoop MapFile format?
1 Mark(s)
Your Answer:
Store compressed key-value pairs
Store compressed key-value pairs
Store unstructured data
Store unstructured data
Store data in a columnar format
Store data in a columnar format
Store data in a binary format
Store data in a binary format
What is the primary use of the feather package in R?
1 Mark(s)
Your Answer:
Data manipulation and transformation
Data manipulation and transformation
Efficiently reading and writing data frames
Efficiently reading and writing data frames
Time series analysis and forecasting
Time series analysis and forecasting
Handling large datasets with parallel computing
Handling large datasets with parallel computing
To add a new element to a list we use which command?
1 Mark(s)
Your Answer:
list1.add(5)
list1.add(5)
list1.append(5)
list1.append(5)
list1.addLast(5)
list1.addLast(5)
list1.addEnd(5)
list1.addEnd(5)
Which of the following is not the type of computer RAM?
1 Mark(s)
Your Answer:
quick RAM
quick RAM
dynamic RAM
dynamic RAM
stable RAM
stable RAM
both A and C
both A and C
What will be the output of the following C++ code? #include <iostream> #include <string.h> using namespace std; int main() { struct student { int num; char name[25]; }; student stu; stu.num = 123; strcpy(stu.name, "John"); cout << stu.num << endl; cout << stu.name << endl; return 0; }
1 Mark(s)
Your Answer:
123 john
123 john
john john
john john
compile time error
compile time error
runtime error
runtime error
Which of the following css property should be used to make a responsive image?
1 Mark(s)
Your Answer:
float
float
max-width
max-width
margin-right
margin-right
all of the mentioned
all of the mentioned
Conference (Netscape), Netmeeting (Internet Explorer) enables (choose the option that best describes)
1 Mark(s)
Your Answer:
sharing voice on the net
sharing voice on the net
live textual conferencing
live textual conferencing
live audio conferencing
live audio conferencing
live real time conferencing
live real time conferencing
None of the above
None of the above
What is the output of the given code? boolean_1 = 77<78 puts(boolean_1)
1 Mark(s)
Your Answer:
Nil
Nil
True
True
False
False
Error
Error
Which keyword is used to define a module in Ruby?
1 Mark(s)
Your Answer:
include
include
def
def
module
module
class
class
External scripts can't take the tag . . . . . . . .
1 Mark(s)
Your Answer:
<script>
<script>
<form>
<form>
<h1>
<h1>
<title>
<title>
The main aim of the file system is to support________
1 Mark(s)
Your Answer:
Transparent access to data
Transparent access to data
Efficient access to data
Efficient access to data
Consistent access to data
Consistent access to data
All of the above
All of the above
"Ctrl + Home" is used to
1 Mark(s)
Your Answer:
Moves the cursor to the beginning of Document
Moves the cursor to the beginning of Document
Moves the cursor to the beginning of Line
Moves the cursor to the beginning of Line
Moves the cursor to the beginning of Paragraph
Moves the cursor to the beginning of Paragraph
All of the above
All of the above
The technology that can be easily adapted for expansion in an organization is:
1 Mark(s)
Your Answer:
ATM
ATM
ATM LAN
ATM LAN
ATM WAN
ATM WAN
ATM MAN
ATM MAN
Which class in C# is used to perform synchronous and asynchronous read and write operations to a file in a managed application?
1 Mark(s)
Your Answer:
TextFile
TextFile
FileStream
FileStream
FileHandler
FileHandler
None of the above
None of the above
What is the first argument in command line arguments?
1 Mark(s)
Your Answer:
The number of command-line arguments the program was invoked with;
The number of command-line arguments the program was invoked with;
A pointer to an array of character strings that contain the arguments
A pointer to an array of character strings that contain the arguments
Nothing
Nothing
None of the mentioned
None of the mentioned
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.