Answer Key
Answer Key
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
1 Which of the following is parent class of HttpServlet Servlet Object None of these A
GenericServlet?
2 RMI stands for …………… Remote Method Remote Procedure Remote Method None of these A
Invocation invocation Interface
3 How are java web applications packaged? jar war both jar and war zip C
4 Which are the session tracking techniques? URL rewriting Using cookie Using hidden fields All the mentioned D
9 Which is not the correct meaning of 4 'v's of Volume Various Variety Velocity B
big data?
10 In how many forms Big Data could be 2 3 4 5 B
found?
Page 1 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
11 The algorithm for consensus in the Bitcoin Proof of Stake Proof of Worth Proof of Work Proof of Elapsed Time C
blockchain is called …………. protocol.
12 Where are the transactions recorded in a on a SQL Database on a distributed on a centralized on a SQLite Database B
blockchain? immutable ledger immutable ledger
13 Which of the following statements is true A blockchain is A blockchain database A blockchain has been All of these D
about blockchain? a decentralized, distrib is managed described as a value-
uted, and oftentimes autonomously using exchange protocol.
public, digital ledger a peer-to-peer network
consisting of records and a distributed
called blocks timestamping server
Page 2 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
19 Which of the following can be considered as Public Protected Private Public and Protected C
the member(s) that can be inherited but not both
accessible in any class?
20 What is output of below program? 111011 111111 101011 101010 A
int main()
{
int a=10;
int b,c;
b = a++;
c = a;
cout<<a<<b<<c;
return 0;
}
21 If a base constructor is not virtual, then ....... it cannot have a it cannot be called it cannot be called destructor is derived D
function body when accessed from class cannot be called
pointer when accessed
through a pointer to
the base class.
22 Which of the following is essential concept Reliability Productivity Abstraction All of the mentioned C
related to Cloud?
23 The private cloud is ............. a cloud service standard cloud service cloud architecture All of these C
inaccessible to anyone offered via the Internet maintained within an
but the cultural elite enterprise data center.
Page 3 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
28 Which of the following approaches to Circuit Switching Packet Switching Both Circuit Switching None of these B
switching share network resources? and Packet Switching
29 Which of the following is not a benefit of It reduces load on the It decreases response It increases reliability It reduces load on the C
using a proxy server for a web cache? access link times for client origin server
requests
30 CouchDB can be replicated across multiple single limited to 2 None of these A
………...server instances.
31 Data scrubbing is which of the following? A process to upgrade A process to load the A process to upgrade A process to reject data A
the quality of data data in the data the quality of data from the data
before it is moved into warehouse and to after it is moved into a warehouse and to
a data warehouse create the necessary data warehouse create the necessary
indexes indexes
32 A goal of data mining includes which of the To confirm that data To analyze data for To explain some To create a new data C
following? exists expected relationships observed events or warehouse
condition
Page 4 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
33 What is Decision support system (DSS)? A family of relational Interactive systems It consists of nodes None of these B
database management that enable decision and branches starting
systems marketed by makers to use from a single root
IBM databases and models node. Each node
on a computer in order represents a test, or
to solve ill-structured decision
problems
34 In the schema (dept name, size) we have Dept name, year->size Year->size Dept name->size Size->year A
relations total inst 2007, total inst 2008.
Which dependency have lead to this relation
?
35 Designers use which of the following to tune Denormalization Redundant Optimization Realization A
the performance of systems to support time- optimization
critical operations?
36 Which of the following security features that Authentication Identification Validation Access Control D
control access resources in the operating
system?
37 Which of the following is a class of computer Phishing Social Engineering DoS Attack Stalking C
threat?
38 Which statement is true regarding an object? An object is what An object is a run time An object is a variable An object is a reference B
classes instantiated are entity to an attribute
from
39 Java Varargs are applicable only for ___ . Constructors Methods Both Constructors and None of these C
Methods
Page 5 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
40 What is the output of the below java Bean BeanBean null nullnull Bean Atkinson Milton Compiler error C
program?
public class Varargs1
{
static void displayStudents(String... stu)
{
for(String s: stu)
System.out.print(s + " ");
}
public static void main(String args[])
{
displayStudents("Bean", "Atkinson",
"Milton");
}
}
Page 6 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
41 What is the output of the below java Attended: 0 Attended: 0 Attended: No Output Complier Error D
program? 0
public class Varargs2
{
void attendance(String... allStu)
{
System.out.println("Attended: " +
allStu.length);
}
void attendance(boolean... all)
{
System.out.println("Attended: " + all.length);
}
public static void main(String args[])
{
new Varargs2().attendance();
}
}
Page 7 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
46 MongoDB can be used as a ............., taking AMS CMS File system None of these A
advantage of load balancing and data
replication features over multiple machines
for storing files.
47 Which among the following have the char varchar text type both char and varchar C
maximum bytes in MySQL?
48 Which of the following is not the valid name To From Far Near B
for a column?
49 A functional dependency of the form x -> y y⊆x x⊆y y⊂x x ⊂ y and y ⊂ x A
is trivial if .........
50 Length of a Broadcast LAN is 2 Km and it 50 bytes 200 bytes 100 bytes None of these D
has 107 bps bandwidth and uses CSMA/CD.
It is given that signal travels along the wire
at 2108m/s. Then what is the minimum size
of the packet?
51 In the starting phase of TCP congestion increase does not increase increase Exponentially increase linearly C
control algorithm , size of congestion control
window.................
52 The Protocol Data Unit (PDU) for the Segment Datagram Message Frame C
application layer in the Internet stack is___.
53 A gateway for the server side object is____ Stub Remote Skeleton Server C
54 Which is not the type of NoSQL database? Graph Key-Value Documents Relational D
Page 8 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
56 What is NoSQL Database? NoSQL is a database is NoSQL is database NoSQL is a database None of these C
an enhanced form of that is built with that is built on ways
RDBMS. enhancements to and means other than
DBMS. tables and columns.
57 What is the attack technique used to exploit OS command injection SQL injection LDAP injection Xpath injection B
web sites by altering backend database
queries through inputting manipulated
queries?
58 CSRF stands for ……….. Cross-site scripting file Cross-Site Request Cross-Site Required Cross-Site Response B
Forgery Forgery Forgery
59 PHP is an example of ………… scripting Server side Client side Browser Side None of these A
language.
60 Which of the following is correct to If the value is a If the value is a string, Values of type NULL All of these D
determine the "truth" of any value not number, it is false if it is false if the string is are always false.
already of the Boolean type? exactly equal to zero empty (has zero
and true otherwise. characters) or is the
string "0", and is true
otherwise.
61 The most common method to get data into a insert write execute send A
table is to use which command in
PostgreSQL?
62 PostgreSQL offers data types to store IPv4, TRUE FALSE Can be true or false Can not say A
IPv6, and MAC addresses.
63 In which part of memory does the system Heap Stack Uninitialized data None of these B
stores the parameter and local variables of segment
function call?
Page 9 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
65 Efficiency in a software product does not responsiveness memory utilization processing time licensing D
include ____
66 White box testing, a software testing Graph Testing Basic Path Glass box Testing Dataflow C
technique is sometimes called______
67 A software configuration management tool Keeping track of the Maintaining different Managing manpower All of these B
helps in __ schedule based on the versions of the distribution by
milestones reached configurable items changing the project
structure
68 The advantage of better testing in software Waterfall model Prototyping Iterative All of these C
development is in _____.
69 In the Spiral model of software development, Iteration size Cost Adopted process such Risk D
the primary determinant in selecting as Rational Unified
activities in each iteration is __ Process or Extreme
Programming
70 Which of the following stored procedure is sp_addmessage sp_dropmessage sp_altermessage all of the mentioned A
used for error messages?
Page 10 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
71 Point out the correct statement. Conditional logic A stored procedure is a Stored procedures All of the mentioned A
applied to the results group of Transact-SQL cannot improve
of the first SQL statements pre performance
statements determines compiled into a single
which subsequent SQL execution plan
statements are
executed
72 Which of the following System Direct approach Parallel approach Phased approach Pilot approach C
Implementation Approaches is the least
risky?
73 In VB.Net what result you get for following Mid Mid F Funct Function Demo D
code?
Dim Str As String = "Mid Function Demo"
Console.WriteLine(Mid(MyString, 5))
74 Give the output of the following code: “30” 30 5*6 None of these B
<script type="text/javascript"
language="javascript">
var x=5;
var y=6;
var res=eval("x*y");
document.write(res);
</script>
Page 11 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
75 The architecture layer of the application that Business – Logic Layer View – Logic Layer Domain – Logic Layer Data-Logic Layer A
provides a high-level view of data and
actions on data is known as____
76 To make your website mobile and desktop Responsive Dynamic Progressive Static A
friendly, you can make your website.
77 Which of the following is true about Dynamic HTML is a This markup language DHTML is not a It is simply a markup C
DHTML? markup or creates static web language, but it is a set language.
programming pages. of technologies of web
language development.
78 In Model – View – Controller architecture, Interface layer Data Access layer Domain object model Business logic layer A
the view corresponds to the …………
80 Which of the following is the most To generate a To validate form data To create a JavaBean None of these B
appropriate use for JavaScript? JavaServer Page on the client from the database
81 …………… invented the photocopier MacMillon Chester Carlson Igor Stevenovi Cornelius Drebbel B
machine in the year 1938.
82 ………………. is known as the ‘father of cell Marting Taylor Martin Bucher Martin Lucas Martin Cooper D
phone’.
83 …………. invented World Wide Web in the Sir Tim Berners-Lee J.L.Baird George Nissen Bernard Silver A
year 1989.
84 ………… is a chemical that radiates visible Phosphor Cobalt Iridiam Plutonium A
light when it is energised after being
exposed to light.
Page 12 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
85 The first laptop was invented in the year 1983 1981 1980 1985 B
……………… by Adam Osborne.
86 The first Screensaver was invented by John Socha Shigern Miyamoto Charles Elwood Steve Russell A
………….. in 1983 for an IBM computer.
87 There are eight bags of rice looking alike, 2 3 4 8 A
seven of which have equal weight and one is
slightly heavier. The weighing balance is of
unlimited capacity. Using this balance, the
minimum number of trials required to
identify the heavier bag is ……………
Page 13 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
91 Insert seven numbers between 2 and 34, such 130 120 124 126 D
that the resulting sequence including 2 and
34 is an arithmetic progression. The sum of
these inserted seven numbers is
………………….
92 Fatima starts from point P, goes North for 3 8 km, East 12 km, North 6 km, East 10 km, North A
km and then East for 4 km to reach point Q.
She then turns to face point P and goes 15
km in that direction. She then goes North for
6 km. How far is she from point P, and in
which direction should she go to reach point
P?
Page 14 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
Page 15 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=
High Court of Gujarat, Sola, Ahmedabad
No. RC/A/1316/2020
Questions with Provisional Answers for the Preliminary Examination (Screening Test) held on 01-08-2021 for Direct Recruitment to the post of Programmer
(Recruitment Cell)
Visit "Answer Keys" menu under "Downloads" on
Last date for submitting Online Objection(s) is 11/08/2021 upto 06:00 p.m.
HC-OJAS website to raise any Objection(s)
If the High Court does not receive any online objection(s), it would be open for the High Court to treat the Provisional Answer Key as the Final Answer Key
Provisi
Que.
Question Option A Option B Option C Option D onal
No.
Answer
98 Friendship, no matter how ……….. it is, has cordial intimate secret pleasant B
its limitations. [Select the correct option]
99 Didn’t you buy ……… when you went any paper much paper no paper a few paper A
shopping? [Select the correct option]
100 Raman is confident of speaking English during, for within, for for, in for, since B
……………. six months as he has been
practicing regularly ……….. the last three
weeks. [Select the correct option]
Page 16 of 16
To raise objection click here --> https://hc-ojas.gujarat.gov.in/ViewPDFFiles.aspx?type=nGZ6ppr3GJs=