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
:
43
:
00
Q:
1
/
48
🤖
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.
GATE Mock Test 1
Exam Duration:
00:43:00
GATE Mock Test 1
: Question
1
of 48
A combination of an encryption algorithm and a decryption algorithm is called a:
1 Mark(s)
Your Answer:
plain text
plain text
cipher
cipher
original text
original text
shift cipher
shift cipher
How Exception handling is implemented in the C++ program?
1 Mark(s)
Your Answer:
Using Exception keyword
Using Exception keyword
Using try-catch block
Using try-catch block
Using Exception block
Using Exception block
Using Error handling schedules
Using Error handling schedules
How to implement a network medium that is not susceptible to EMI. Which type of cabling should you use?
1 Mark(s)
Your Answer:
Thicknet coax
Thicknet coax
Thinnet coax
Thinnet coax
Category 5 UTP cable
Category 5 UTP cable
Fiber-optic cable
Fiber-optic cable
Baud rate is the number of:
1 Mark(s)
Your Answer:
signal elements per second
signal elements per second
bits per second
bits per second
frames per second
frames per second
none
none
In a Red-Black tree, what does the term "splaying" refer to?
1 Mark(s)
Your Answer:
Moving a node to the root to improve access times.
Moving a node to the root to improve access times.
Rotating nodes to maintain balance.
Rotating nodes to maintain balance.
Re-coloring nodes to restore properties.
Re-coloring nodes to restore properties.
Inserting nodes while maintaining balance.
Inserting nodes while maintaining balance.
In OSI model, when data is sent from device A to device B, the fifth layer to receive data at B is
1 Mark(s)
Your Answer:
Session layer
Session layer
application layer
application layer
transport layer
transport layer
None
None
A variable (often denoted by y) whose value depends on that of another is:
1 Mark(s)
Your Answer:
Independent variable
Independent variable
Dependent variable
Dependent variable
Controlled variable
Controlled variable
Discrete variable
Discrete variable
What data structure would you use for efficiently managing a set of time-ordered events?
1 Mark(s)
Your Answer:
Queue
Queue
Stack
Stack
Array
Array
Priority Queue
Priority Queue
What will be the output of the following PHP code? <?php $str = "Hello! My name is Cameron Fox. Coffee?" $find = array('/is/','/coffee/'); $replace = array('/was/','/tea/'); echo preg_replace ($find, $replace, $str); ?>
1 Mark(s)
Your Answer:
Hello! My name was Cameron Fox. tea?
Hello! My name was Cameron Fox. tea?
Hello! My name is Cameron Fox. tea?
Hello! My name is Cameron Fox. tea?
Hello! My name is Cameron Fox. Coffee?
Hello! My name is Cameron Fox. Coffee?
Hello! My name was Cameron Fox. Coffee?
Hello! My name was Cameron Fox. Coffee?
What will happen when the exception is not caught in the program?
1 Mark(s)
Your Answer:
error
error
program will execute
program will execute
block of that code will not execute
block of that code will not execute
program will execute & displays wrong output
program will execute & displays wrong output
Which of the following is a Change Case in MS-Word ?
1 Mark(s)
Your Answer:
Sentence Case
Sentence Case
Lowercase
Lowercase
Toggle Case
Toggle Case
All of these
All of these
Day-to-day transactions at departmental stores, banks, reservation counter and other businesses are all dependent upon computer:
1 Mark(s)
Your Answer:
softwares
softwares
systems
systems
programs
programs
networks
networks
Consider the following snippet code var string1 = ”123”; var intvalue = 123; alert( string1 + intvalue );
1 Mark(s)
Your Answer:
123246
123246
246
246
123123
123123
Exception
Exception
Light atoms can move with the help of:
1 Mark(s)
Your Answer:
strong energy
strong energy
atom's energy
atom's energy
surrounding's energy
surrounding's energy
force
force
What is the purpose of using unions in C++?
1 Mark(s)
Your Answer:
To group related data together
To group related data together
To define loops in the program
To define loops in the program
To save memory space
To save memory space
To represent true/false values
To represent true/false values
Memory space in a computer is used to:
1 Mark(s)
Your Answer:
hold applications
hold applications
hold information temporarily
hold information temporarily
provide additional speed when needed
provide additional speed when needed
all of these
all of these
Which method is used to send a message over a UDP connection in C#?
1 Mark(s)
Your Answer:
Connect()
Connect()
Accept()
Accept()
Listen()
Listen()
Send()
Send()
What will be the output of the following C code? #include <stdio.h> int i; int main() { extern int i; if (i == 0) printf("scope rules\n"); }
1 Mark(s)
Your Answer:
scope rules
scope rules
Compile time error due to multiple declaration
Compile time error due to multiple declaration
Compile time error due to not defining type in statement extern i
Compile time error due to not defining type in statement extern i
Nothing will be printed as value of i is not zero because i is an automatic variable
Nothing will be printed as value of i is not zero because i is an automatic variable
What happens if a derived class redefines a method that is already defined in its base class in C++?
1 Mark(s)
Your Answer:
Compilation error
Compilation error
Both methods are available separately
Both methods are available separately
Method in the derived class overrides the base class method
Method in the derived class overrides the base class method
Method in the base class overrides the derived class method
Method in the base class overrides the derived class method
What is the result of 7 << 2 ?
1 Mark(s)
Your Answer:
28
28
7
7
14
14
4
4
Apache . . . . . . . . is a serialization framework that produces data in a compact binary format.
1 Mark(s)
Your Answer:
Oozie
Oozie
Impala
Impala
kafka
kafka
Avro
Avro
How do you define a range in Ruby?
1 Mark(s)
Your Answer:
range = "start..end"
range = "start..end"
range = start..end
range = start..end
range = Range.new("start", "end")
range = Range.new("start", "end")
range = start.to(end)
range = start.to(end)
In Java, can a "catch" block catch exceptions of a superclass type?
1 Mark(s)
Your Answer:
Yes, a "catch" block can catch exceptions of a superclass type
Yes, a "catch" block can catch exceptions of a superclass type
No, a "catch" block can only catch exceptions of the exact type
No, a "catch" block can only catch exceptions of the exact type
Only if the superclass is marked as "final"
Only if the superclass is marked as "final"
Only if the subclass is marked as "static"
Only if the subclass is marked as "static"
Replication should be used when which of the following exist?
1 Mark(s)
Your Answer:
When transmission speeds and capacity in a network prohibit frequent refreshing of large tables.
When transmission speeds and capacity in a network prohibit frequent refreshing of large tables.
When using many nodes with different operating systems and DBMSs and database designs.
When using many nodes with different operating systems and DBMSs and database designs.
The application's data can be somewhat out-of-date.
The application's data can be somewhat out-of-date.
All of the above.
All of the above.
What is the purpose of the 'rewind' function in C?
1 Mark(s)
Your Answer:
To close the file
To close the file
To reset the file pointer to the beginning
To reset the file pointer to the beginning
To delete the file
To delete the file
To check if the file is empty
To check if the file is empty
Iron, cobalt and nickel are metals which are:
1 Mark(s)
Your Answer:
non-magnetic
non-magnetic
magnetic
magnetic
insulator
insulator
none of them
none of them
The Facebook diplomacy was coined in _____?
1 Mark(s)
Your Answer:
2012
2012
2008
2008
2004
2004
2000
2000
To copy a picture of the screen to the clipboard use?
1 Mark(s)
Your Answer:
Print screen key
Print screen key
Alt key
Alt key
Both
Both
Shift key
Shift key
The successive discounts 20% and 15% are equal to a single discount of__________?
1 Mark(s)
Your Answer:
35%
35%
38%
38%
32%
32%
29%
29%
None of these
None of these
Integrity constraints can also be added to an existing relation by using the command:
1 Mark(s)
Your Answer:
Modify table
Modify table
Change Table
Change Table
Define table
Define table
Alter table
Alter table
The charge on beta particle is________________?
1 Mark(s)
Your Answer:
1
1
-1
-1
+2
+2
-2
-2
For synchronization, the communication of a message between two processes implies some level of:
1 Mark(s)
Your Answer:
Descriptive
Descriptive
Synchronized
Synchronized
Synchronization
Synchronization
Inscriptive
Inscriptive
Quality of X-rays depends upon ____________ A-filament current B-accelerating voltage C-material of the target ?
1 Mark(s)
Your Answer:
A & B
A & B
B & C
B & C
A & C
A & C
A B & C
A B & C
Which among the following can be taken as the discrete object?
1 Mark(s)
Your Answer:
People
People
Rational numbers
Rational numbers
Integers
Integers
All of the mentioned
All of the mentioned
Three 6 faced dice are thrown together. The probability that all the three show the same number on them is -.
1 Mark(s)
Your Answer:
1/216
1/216
1/36
1/36
5/9
5/9
5/12
5/12
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
Consider a drop of rain water having mass 1g falling from a height of 1km. It hits the ground with a speed of 50 m/s. The work done by the resistive force of air is ($g=10$):
1 Mark(s)
Your Answer:
$-10 J$
$-10 J$
$-8.75 J$
$-8.75 J$
$8.75 J$
$8.75 J$
$-1.25 J$
$-1.25 J$
Wavelength of light in a medium depends on the:
1 Mark(s)
Your Answer:
index of refraction
index of refraction
index of reflection
index of reflection
index of incidence
index of incidence
index of retardation
index of retardation
The displacement of a particle is given by $x = a \cos(\omega t) + b \sin(\omega t)$. The motion is SHM with amplitude:
1 Mark(s)
Your Answer:
$\sqrt{a^2+b^2}$
$\sqrt{a^2+b^2}$
$a+b$
$a+b$
$(a+b)/2$
$(a+b)/2$
$\sqrt{ab}$
$\sqrt{ab}$
What is Oozie in the context of Hadoop?
1 Mark(s)
Your Answer:
A workflow scheduler for Hadoop jobs
A workflow scheduler for Hadoop jobs
A distributed storage system
A distributed storage system
A query language for Hadoop
A query language for Hadoop
A data processing engine for Hadoop
A data processing engine for Hadoop
What will be the output of the following C code? #include <stdio.h> struct student { char *c; struct student *point; }; void main() { struct student s; struct student *m = &s; printf("%d", sizeof(student)); }
1 Mark(s)
Your Answer:
Compile time error
Compile time error
8
8
5
5
16
16
The equation θ = 1.22 λ/D was devised by_______________?
1 Mark(s)
Your Answer:
Newton
Newton
Einstein
Einstein
Raleigh
Raleigh
Planks
Planks
What is the purpose of the `@Path` annotation in JAX-RS (Java API for RESTful Web Services) applications?
1 Mark(s)
Your Answer:
To create JavaBeans
To create JavaBeans
To execute SQL queries
To execute SQL queries
To specify the base URI for a resource class or method
To specify the base URI for a resource class or method
To define JavaBean properties
To define JavaBean properties
What is the correct syntax to initialize bit-fields in an structure?
1 Mark(s)
Your Answer:
struct temp { unsigned int a : 1; }s;
struct temp { unsigned int a : 1; }s;
struct temp { unsigned int a = 1; }s;
struct temp { unsigned int a = 1; }s;
struct temp { unsigned float a : 1; }s;
struct temp { unsigned float a : 1; }s;
None of the mentioned
None of the mentioned
Which shortcut command is used to Reload the current page in Google Chrome?
1 Mark(s)
Your Answer:
F5
F5
Ctrl + r
Ctrl + r
Both A and B are correct
Both A and B are correct
None of the above
None of the above
What does the zip method do in Ruby enumerators?
1 Mark(s)
Your Answer:
Removes duplicate elements from a collection
Removes duplicate elements from a collection
Applies a block of code to each element and returns a new collection
Applies a block of code to each element and returns a new collection
Reverses the order of elements in a collection
Reverses the order of elements in a collection
Combines elements from multiple collections into arrays
Combines elements from multiple collections into arrays
How do you establish a connection to an SQLite database using sqlite3?
1 Mark(s)
Your Answer:
connect("database.db")
connect("database.db")
create_connection("database.db")
create_connection("database.db")
sqlite_connect("database.db")
sqlite_connect("database.db")
open_connection("database.db")
open_connection("database.db")
The reverse of LED is______?
1 Mark(s)
Your Answer:
Diode
Diode
Resistor
Resistor
Photodiode
Photodiode
Capacitor
Capacitor
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.