Page 1
FOR TG CPGET EXAM PREPARATION
TG CPGET 2026
Question Paper · with
Preliminary Key M.Sc.
Computer Science, 14th
July 2026 Shift 2
EXAM YEAR TYPE
TG CPGET 2026 Question Paper
SUBJECT
with Preliminary Key M.Sc. Computer Science, 14th July 2026 Shift 2
Notes · Sample Papers · Previous Year Papers · Mock Tests
Page 2
co m .
. s e
em l a
as ag
Common Post Graduate Entrance Tests
Notations :
1.Options shown in green color and with icon are correct.
2.Options shown in red color and with icon are incorrect.
o m
om M Sc Computer Science 14th July 2026 Shift 2 .c
.c em
Question Paper Name :
Subject Name :
e m M.Sc. Computer Science
la s
Creation Date :
l a s 2026-07-14 15:04:44
a g
ag
Duration : 90
Number of Questions : 100
Total Marks : 100
Display Marks: No
Change Font Color : No
Change Background Color : No
Change Theme : No
m
Help Button : No
Show Reports :
. co No
s em
Show Progress Bar : No
g l a
M Sc aComputer Science
Group Number : 1
Group Id : 526123203
Group Maximum Duration : 0
Group Minimum Duration : 90
Show Attended Group? : No
m
c. o
Edit Attended Group? : No
m
c. o m
Break time : 0
s e
em la
Group Marks : 100
las ag
ag M Sc Computer Science
Section Id : 526123331
Section Number : 1
Section type : Online
Mandatory or Optional : Mandatory
Number of Questions : 100
m . c
Number of Questions to be attempted : 100
Section Marks :
c. o 100
s e m
m a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 1 of 26
Page 3
Maximum Instruction Time : 0
Sub-Section Number : 1
Sub-Section Id : 526123360
Question Shuffling Allowed : Yes
Is Section Default? : No
Question Number : 1 Question Id : 52612317130 Question Type : MCQ Option Shuffling : Yes
Which of the following is the correct syntax to declare an array in C?
1. data_type []array_name;
2. data_type array_name{Array_Size};
3. data_type array_name[array_size];
4. data_type array_name[Array_size];
Question Number : 2 Question Id : 52612317131 Question Type : MCQ Option Shuffling : Yes
1. j=1
2. j=5
3. j=10
4. j=0
Question Number : 3 Question Id : 52612317132 Question Type : MCQ Option Shuffling : Yes
An array element is always stored in ------------ memory locations
1. Sequential
2. Random
3. Arbitrary
4. None
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 2 of 26
Page 4
c. o m .
m s e
a Option Shuffling : Yes
e Question Number : 4 Question Id : 52612317133 Question Type :gMCQ
l
as a
m
om . co
.c e m
e m l a s
l a s ag
ag
1. Hello
2. Compiler error
3. Nothing
4. None
Question Number : 5 Question Id : 52612317134 Question Type : MCQ Option Shuffling : Yes
m
. co
Which of the following statement is used to terminate the while loop in c-language.
em
1. break
l a s
2. exit(0)
a g
3. return()
4. Continue
Question Number : 6 Question Id : 52612317135 Question Type : MCQ Option Shuffling : Yes
m
What happens if the condition in a while loop is always true?
mprogram will crash
o c. o
. c e m
s
1. The
2.m The loop will run only once
s e3. The loop will never execute la
gla 4. The loop will run indefinitely ag
a
Question Number : 7 Question Id : 52612317136 Question Type : MCQ Option Shuffling : Yes
What is the highest difference between a do-while loop and a while loop?
m . c
c. o
1. In a while loop, the loop body is executed at least once
e m
m s
2. There is no difference between them
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 3 of 26
Page 5
3. In a do-while loop, the loop body is executed at least once
4. In a do-while loop, the condition is checked before the loop body is executed
Question Number : 8 Question Id : 52612317137 Question Type : MCQ Option Shuffling : Yes
The value obtained in the function is given back to main by using ________ keyword.
1. Void
2. Return
3. Static
4. new
Question Number : 9 Question Id : 52612317138 Question Type : MCQ Option Shuffling : Yes
Arguments passed to a function in C language are called ____
1. Keyword Arguments
2. Default Arguments
3. Formal Arguments
4. Actual Arguments
Question Number : 10 Question Id : 52612317139 Question Type : MCQ Option Shuffling : Yes
Which of the following is true about return type of functions in C
1. Functions can return any type except array, functions, function pointer and union
2. Functions can return any type except array and functions
3. A function can return any type
4. Functions can return any type except union
Question Number : 11 Question Id : 52612317140 Question Type : MCQ Option Shuffling : Yes
An uninitialized pointer in C is called ___.
1. Wild pointer
2. Void pointer
3. Empty pointer
4. dangling pointer
Question Number : 12 Question Id : 52612317141 Question Type : MCQ Option Shuffling : Yes
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 4 of 26
Page 6
co m .
. s e
em Correct Marks : 1 Wrong Marks : 0 l a
as In which case union is better than structure a g
1. When functions are included
2. Faster compilation is required
3. Less memory is available
4. None of these
o m
m . c
Correct Marks : 1 Wrong .Marks
Question Number : 13 Question
co : 0Id : 52612317142 Question Type : MCQ Option Shuffling : Yes
s e m
s ethemmode ‘w+’ g l a
la a
What is the function of
1. create text
g
a file for writing, discard previous contents if any
2. create text file for update, discard previous contents if any
3. create text file for writing, do not discard previous contents if any
4. create text file for update, do not discard previous contents if any
m
Question Number : 14 Question Id : 52612317143 Question Type : MCQ Option Shuffling : Yes
. co
em
If fopen() function is not able to open a file, it returns
l a s
1. EOF
a g
2. Compiler Dependent
3. Runtime error
4. NULL
Question Number : 15 Question Id : 52612317144 Question Type : MCQ Option Shuffling : Yes
m
m
What does the following C code snippet mean char * gets(char *c)
o c. o
c
1.m. reads the next input line into the array ‘c’
e m
e2. writes the line into the array ‘c’ la s
s
la 3. reads the next input character into the array ‘c’ ag
ag
4. Write a character into the array 'c'
Question Number : 16 Question Id : 52612317145 Question Type : MCQ Option Shuffling : Yes
What is the pure virtual function in C++
m . c
c. o
e m
s
1. A function that can be called only by the base class
m a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 5 of 26
Page 7
2. A function that has no definition in the class declaration
3. A function that is define in a base class and overridden in derived classes
4. A function that cannot be overridden by derived classes
Question Number : 17 Question Id : 52612317146 Question Type : MCQ Option Shuffling : Yes
--------- is the key benefit of Object-Oriented Programming
1. Reuse of code
2. Faster compilation
3. Reduce of Memory Storage
4. Modularity
Question Number : 18 Question Id : 52612317147 Question Type : MCQ Option Shuffling : Yes
Which among the following doesn’t come under OOP concept?
1. Abstraction
2. Inheritance
3. Platform Independent
4. Polymorphism
Question Number : 19 Question Id : 52612317148 Question Type : MCQ Option Shuffling : Yes
Which operator is used for input Stream in c++?
1. >
2. <
3.
4. <<
Question Number : 20 Question Id : 52612317149 Question Type : MCQ Option Shuffling : Yes
Which of the following is incorrect Constructor Type?
1. Copy Constructor
2. Default Constructor
3. Parameterized Constructor
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 6 of 26
Page 8
co m .
. s e
em 4. l a
as Friend Constructor
a g
Question Number : 21 Question Id : 52612317150 Question Type : MCQ Option Shuffling : Yes
----- is used as Scope resolution operator in C++
1. ?
m
om . co
2. ::
.c e m
3.
e m l a s
l a s ag
ag
4. ~
Question Number : 22 Question Id : 52612317151 Question Type : MCQ Option Shuffling : Yes
What is the purpose of the “try” block in exception handling in C++ ?
1. To handle exceptions
m
c. o
2. To throw exceptions
m
3. To catch exceptions
s e
a
4. To define the block of code that may generate exceptions
l
ag Question Type : MCQ Option Shuffling : Yes
Question Number : 23 Question Id : 52612317152
Using which of the following keywords can an exception be generated
1. throw
2. throws
m
c. o
3. threw
m
c. o e m
4. catch
eQuestion s
m Number : 24 Question Id : 52612317153 Question Type : MCQ lOption
a Shuffling : Yes
s
la Correct Marks : 1 Wrong Marks : 0 a g
g
a A Standard Static variable can be assigned a value
1. With in the Class definition
2. While executing program
3. Outside the Class definition
m . c
4. None of these
c. o s e m
m a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l Page 7 of 26
Page 9
Question Number : 25 Question Id : 52612317154 Question Type : MCQ Option Shuffling : Yes
Which STL component stores the data elements
1. Iterator
2. Container
3. Algorithm
4. Template
Question Number : 26 Question Id : 52612317155 Question Type : MCQ Option Shuffling : Yes
A function template means -------------------
1. Creating a function with specific data type
2. Creating a function with int data type
3. Creating a function without having a specific exact type
4. None of these
Question Number : 27 Question Id : 52612317156 Question Type : MCQ Option Shuffling : Yes
What is the correct calling order of constructor and destructor in inheritance ?
1. Derived constructor → Base constructor → Derived destructor → Base destructor
2. Base constructor → Derived constructor → Base destructor → Derived destructor
3. Derived constructor → Base constructor → Base destructor → Derived destructor
4. Base constructor → Derived constructor → Derived destructor → Base destructor
Question Number : 28 Question Id : 52612317157 Question Type : MCQ Option Shuffling : Yes
Which container in C++ STL does not allow duplicate elements
1. Vector
2. Set
3. Map
4. List
Question Number : 29 Question Id : 52612317158 Question Type : MCQ Option Shuffling : Yes
Can static member function access the non-static members ?
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 8 of 26
Page 10
co m .
. s e
em 1. l a
as 2.
No
Yes a g
3. Only in derived Class
4. Only in Base Class
Question Number : 30 Question Id : 52612317159 Question Type : MCQ Option Shuffling : Yes
m
om . co
Which of the following can be overloaded in C++?
.c e m
e m l a s
s
1. Functions
l a ag
ag
2. Operators
3. Constructors
4. Functions, Operators and Constructors
Question Number : 31 Question Id : 52612317160 Question Type : MCQ Option Shuffling : Yes
Which method is used to concatenate the Strings in C++?
m
1. concat()
. co
2. append()
s em
3. attach()
g l a
4. connect() a
Question Number : 32 Question Id : 52612317161 Question Type : MCQ Option Shuffling : Yes
Which of the operators can not be overloaded in C++?
m
c. o
1. <<
m
c. ?:o
2. >>
e m
e4.m ++ a s
3.
s g l
gla a
a Question Number : 33 Question Id : 52612317162 Question Type : MCQ Option Shuffling : Yes
Advantage of inline function is
1. Inline functions are resolved at runtime
2. Avoids the overhead of a function call
m . c
c. o m
3. Any change to an inline function does not requires recompilation of all calling code
m s e
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 9 of 26
Page 11
4. Inline functions are resolved at runtime, Avoids the overhead of a function call and Any change to an
inline function does not requires recompilation of all calling code
Question Number : 34 Question Id : 52612317163 Question Type : MCQ Option Shuffling : Yes
Which data structure is best for implementing recursion explicitly?
1. Stack
2. Queue
3. Tree
4. Graph
Question Number : 35 Question Id : 52612317164 Question Type : MCQ Option Shuffling : Yes
Which of the following is NOT a characteristic of linked lists?
1. Efficient insertion/deletion at known positions
2. Each node stores pointer(s) to next (and possibly previous)
3. Constant-time random access by index
4. Dynamic size
Question Number : 36 Question Id : 52612317165 Question Type : MCQ Option Shuffling : Yes
Spanning Tree is known as --------------
1. A subgraph of edges that form a cycle
2. A subgraph that includes all vertices and is connected without any cycles
3. A Subgraph that includes only leaf nodes
4. A Tree where all nodes are leaves
Question Number : 37 Question Id : 52612317166 Question Type : MCQ Option Shuffling : Yes
Which traversal visits nodes in left-root-right order?
1. Pre-order
2. Post order
3. Level-order
4. In-order
Question Number : 38 Question Id : 52612317167 Question Type : MCQ Option Shuffling : Yes
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 10 of 26
Page 12
co m .
. s e
em Correct Marks : 1 Wrong Marks : 0 l a
as ……………….. tree structure is commonly used in databases and file system a g
1. Heap
2. B- Tree/ B+ Tree
3. AVL Tree
4. Red Black Tree
o m
m . c
co : 0
Correct Marks : 1 Wrong .Marks
Question Number : 39 Question Id : 52612317168 Question Type : MCQ Option Shuffling : Yes
s e m
s em g l a
g la a
a
m
. co
s em
g l a
a
1. 10, 18, 15, 12, 45, 87, 67, 56, 34, 23
2. 10,12,15,18,23,34,45,56,67,87
3. 23,12,10,15,18,34,56,45,67,87
m
c. o
4. None of these
m
c. o s e m
em la
Question Number : 40 Question Id : 52612317169 Question Type : MCQ Option Shuffling : Yes
las ag
g
The postfix form of A+B*C-D/E
a Options :
1. AB+CD*E/-
2. ABC+D*-E/
3. ABC*+DE/-
4. ABC+*DE-/
m . c
c. o m
Question Number : 41 Question Id : 52612317170 Question Type : MCQ Option Shuffling : Yes
m s e
a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 11 of 26
Page 13
An AVL Tree is a …….
1. A tree which is unbalanced and is a height balanced tree
2. A tree with at most two children with height 3
3. A tree with three children
4. A tree which is balanced and height balanced
Question Number : 42 Question Id : 52612317171 Question Type : MCQ Option Shuffling : Yes
If the elements “P”, “Q”, “R” and “S” are placed in a queue and are deleted one at a time, in what order will
they be removed
1. SRQP
2. PQRS
3. PRSQ
4. PQSR
Question Number : 43 Question Id : 52612317172 Question Type : MCQ Option Shuffling : Yes
----------- is not a collision resolution strategy for open addressing
1. Rehashing
2. Quadratic probing
3. Double hashing
4. Linear probing
Question Number : 44 Question Id : 52612317173 Question Type : MCQ Option Shuffling : Yes
Fastest sorting algorithm is -------------
1. Bubble sort
2. Merge sort
3. Quick sort
4. Insertion sort
Question Number : 45 Question Id : 52612317174 Question Type : MCQ Option Shuffling : Yes
Which of the following sorting algorithm is Stable.
1. Merge Sort
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 12 of 26
Page 14
co m .
. s e
em 2. l a
as 3.
Selection
Bubble sort a g
4. Heap Sort
Question Number : 46 Question Id : 52612317175 Question Type : MCQ Option Shuffling : Yes
m
Adding the element at the end of the queue is known as
om . co
1. Dequeue
.c e m
e m l a s
s
2. Enqueue
l a ag
ag
3. Push
4. Peek
Question Number : 47 Question Id : 52612317176 Question Type : MCQ Option Shuffling : Yes
m
. co
1. 60, 20, 36, 10, 32, 15, 18, 7, 4, 14
s em
2. 60, 36, 20, 10, 32, 18, 15, 7, 14, 4
g l a
3. 60, 32, 10, 20, 36, 15, 18, 7, 4, 14 a
4. 60, 36, 20, 10, 32, 15, 18, 7, 4, 14
Question Number : 48 Question Id : 52612317177 Question Type : MCQ Option Shuffling : Yes
Which type of the queue allows to add elements at both sides
m
c. o
om Queue
1. Circular Queue
c. Priority e m
e3.m Double ended Queue la s
2.
s
la 4. Simple Queue ag
ag
Question Number : 49 Question Id : 52612317178 Question Type : MCQ Option Shuffling : Yes
Kruskal’s algorithm is used to -----------
1. Find all pair shortest path algorithm
m . c
c. o m
2. Find Minimal Spanning Tree
m s e
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 13 of 26
Page 15
3. Find single source shortest path
4. Traverse the graph
Question Number : 50 Question Id : 52612317179 Question Type : MCQ Option Shuffling : Yes
The Data structure used in standard implementation of Breadth First Search is
1. Tree
2. Linked List
3. Stack
4. Queue
Question Number : 51 Question Id : 52612317180 Question Type : MCQ Option Shuffling : Yes
Transitive dependency means………………….
1. A dependency in which one attribute is functionally dependent on another through a third attribute
2. A dependency between non-prime attributes
3. A functional dependency that can be removed by splitting the table
4. A dependency between a non-prime attribute and a candidate key
Question Number : 52 Question Id : 52612317181 Question Type : MCQ Option Shuffling : Yes
What is the main advantage of shadow paging over log-based recovery?
1. It allows for more efficient recovery without logging all operations
2. It requires less storage space for backup
3. It is simpler to implement compared to log-based recovery
4. It provides point-in-time recovery
Question Number : 53 Question Id : 52612317182 Question Type : MCQ Option Shuffling : Yes
What is the purpose of a ‘log’ in the context of transaction management?
1. To store the results of a transaction
2. To back up the database
3. To keep a record of all transactions and changes to the database
4. To execute a transaction
Question Number : 54 Question Id : 52612317183 Question Type : MCQ Option Shuffling : Yes
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 14 of 26
Page 16
co m .
. s e
em Correct Marks : 1 Wrong Marks : 0 l a
as A Multivalued Dependency Means a g
1. A Functional Dependency where set of Attributes determines a value
2. A Dependency where one set of Attributes determines multiple sets of attributes
3. A Dependency where one Attribute determines multiple attributes
4. None
o m
m . c
Question Number : 55 Question
co : 0
Correct Marks : 1 Wrong .Marks
Id : 52612317184 Question Type : MCQ Option Shuffling : Yes
s e m
m behave just like join operations except on tuples that do not occur linathe
eoperation
l a
Which of the followings a g
ag
join results?
1. Union, intersection, difference
2. Generalized Projection
3. Projection
4. Outer join
m
. co
Question Number : 56 Question Id : 52612317185 Question Type : MCQ Option Shuffling : Yes
em
What is a schema in the context of databases?
l a s
1. A set of tables and relationships a g
2. A blueprint or structure of the database
3. A query language
4. A type of data
m
Question Number : 57 Question Id : 52612317186 Question Type : MCQ Option Shuffling : Yes
m c. o
c. o e m
What are ACID properties of a Transaction?
e1.m Atomicity, Consistency, Isolation, Database
la s
s
la 2. Atomicity, Consistency, Inconsistent, Durability ag
g
a 3. Atomicity, Consistency, Isolation, Durability
4. Automatically, Concurrency, Isolation, Durability
Question Number : 58 Question Id : 52612317187 Question Type : MCQ Option Shuffling : Yes
m . c
________Sql Query used to fetch the first 10 rows from a STUDENT table?
c. o e m
m a s
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 15 of 26
Page 17
1. SELECT * FROM STUDENT LIMIT 10
2. SELECT TOP 10 FROM STUDENT
3. GET FIRST 10 FROM STUDENT
4. SELECT FIRST 10 ROWS FROM STUDENT
Question Number : 59 Question Id : 52612317188 Question Type : MCQ Option Shuffling : Yes
Which of the following is a Concurrency Control Technique used in DBMS
1. Two Phase Locking
2. Roll Back
3. Commit
4. Check Point
Question Number : 60 Question Id : 52612317189 Question Type : MCQ Option Shuffling : Yes
The Dead lock State can be changed back to stable state by using ----------- Command
1. Commit
2. Flashback
3. SavePoint
4. RollBack
Question Number : 61 Question Id : 52612317190 Question Type : MCQ Option Shuffling : Yes
NATURAL JOIN can also be termed as --------
1. Combination of Selection and cartesian product
2. Combination of Projection and cartesian product
3. Combination of Union and cartesian product
4. Combination of Selection & Union product
Question Number : 62 Question Id : 52612317191 Question Type : MCQ Option Shuffling : Yes
The relation is in ------------------ if an attribute of a composite key is dependent on an attribute of other
composite keys
1. 3NF
2. 2NF
3. BCNF
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 16 of 26
Page 18
co m .
. s e
em 4. l a
as 1NF
a g
Question Number : 63 Question Id : 52612317192 Question Type : MCQ Option Shuffling : Yes
m
om . co
.c e m
em l a s
a s
l AGE ag
1.
g
a rows from the table where AGE is equal to 18
Delete the column
2. Delete the
3. Performs an Undo operation on Delete operation
4. Delete the Table
Question Number : 64 Question Id : 52612317193 Question Type : MCQ Option Shuffling : Yes
m
. co
s em
g l a
a
1. 6760
2. 6860
3. 6757
4. 6800
m
c. o
Question Number : 65 Question Id : 52612317194 Question Type : MCQ Option Shuffling : Yes
m
c. o
e m
em la s
las ag
ag
m . c
c. o s e m
m a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 17 of 26
Page 19
1. 2
2. 3
3. 4
4. 1
Question Number : 66 Question Id : 52612317195 Question Type : MCQ Option Shuffling : Yes
A relationship between two entities is treated as a single entity is called as
1. Specialization
2. Generalization
3. Aggregation
4. None
Question Number : 67 Question Id : 52612317196 Question Type : MCQ Option Shuffling : Yes
In a ER-Diagram , what do entities represent
1. Real world objects or Concepts
2. Data base query
3. Relationship between Tables
4. Physical storage location
Question Number : 68 Question Id : 52612317197 Question Type : MCQ Option Shuffling : Yes
The referential integrity Constraint of a relational data base can be specified with the help of
1. Secondary Key
2. Primary Key
3. Foreign Key
4. Unique Key
Question Number : 69 Question Id : 52612317198 Question Type : MCQ Option Shuffling : Yes
Which data base design is independent of both software and hardware
1. Physical
2. Logical
3. Physical and Logical
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 18 of 26
Page 20
co m .
. s e
em 4. l a
as Conceptual
a g
Question Number : 70 Question Id : 52612317199 Question Type : MCQ Option Shuffling : Yes
Which term describes the number of attributes in a relation
1. Cardinality
m
om . co
2. Degree
3. Domain
.c e m
e m l a s
s
4. Schema
a
l : 71 Question Id : 52612317200 Question Type : MCQ Option Shuffling :aYes g
ag
Question Number
What is the process of defining more than one method in a class differentiated by method signature?
1. Function overriding
2. Function Binding
m
3. Function Overloading
4. Function Doubling
. co
s em
g l a
Question Number : 72 Question Id : 52612317201 Question Type : MCQ Option Shuffling : Yes
Which of these is long data type literal
a
1. 0x99fffL
2. ABCDEFG
3. 0x99fffa
m
c. o
4. 99671246
m
c. o s e m
em
Question Number : 73 Question Id : 52612317202 Question Type : MCQ Option Shuffling : Yes
s la
la ag
g
Which of these access specifiers can be used for a class so that its members can be accessed by a different
a class in the different package?
1. Private
2. Public
3. Protected
4. Default
m . c
c. o s e m
m
Question Number : 74 Question Id : 52612317203 Question Type : MCQ Option Shuffling : Yes
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 19 of 26
Page 21
Which of the following are incorrect form of StringBuffer class constructor
1. StringBuffer s= new StringBuffer()
2. StringBuffer s= new StringBuffer(int size)
3. StringBuffer s= new StringBuffer(String str)
4. StringBuffer s= new StringBuffer(int size , String str)
Question Number : 75 Question Id : 52612317204 Question Type : MCQ Option Shuffling : Yes
What happens if an abstract class does not have any abstract methods
1. It will not complete
2. Is still strictly an abstract class
3. Java will automatically provide/add an abstract method.
4. It becomes a concrete class
Question Number : 76 Question Id : 52612317205 Question Type : MCQ Option Shuffling : Yes
What is the default value of an integer array in java
1. Zero
2. Null
3. Garbage Value
4. Depends upon the JVM
Question Number : 77 Question Id : 52612317206 Question Type : MCQ Option Shuffling : Yes
---------------- software component is used to compile, debug and execute the java programs
1. Java Virtual Machine
2. Just Debugger
3. Java Development Kit
4. Java Runtime Environment
Question Number : 78 Question Id : 52612317207 Question Type : MCQ Option Shuffling : Yes
Which Object-Oriented Programming principle bundles data and methods into a single unit
1. Inheritance
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 20 of 26
Page 22
co m .
. s e
em 2. l a
as 3.
Encapsulation
Abstraction a g
4. Polymorphism
Question Number : 79 Question Id : 52612317208 Question Type : MCQ Option Shuffling : Yes
m
What is the order of thread states in the Java thread lifecycle, from the initial state to the final state?
om . co
1.
.c
New, Running, Blocked, Terminated
e m
e m l a s
s
2. New, Running, Waiting, Terminated
a
l Waiting, Terminated ag
g
3. Running, New, Blocked, Terminated
4.
a
Running, Blocked,
Question Number : 80 Question Id : 52612317209 Question Type : MCQ Option Shuffling : Yes
What will be the restriction if final keyword used before a class and method
m
1. Class can be extended but method cannot be override
2.
.
Class cannot be extended but method can be override
c o
e m
s
3. Class can be extended and method cannot overload
4.
g l
Class cannot be inherited and method cannota be override
a
Question Number : 81 Question Id : 52612317210 Question Type : MCQ Option Shuffling : Yes
Which of the following is incorrect syntax of read() Method defined by BufferedReader
1. int read(byte b[], int off, int max, int len) throws IOException
m
c. o
2. int read(char data[]) throws IOException
m
c. into read() throws IOException
3. int read(char data[], int st, int max) throws IOException
e m
em a s
4.
s g l
gla Question Number : 82 Question Id : 52612317211 Question Type : MCQ
a Option Shuffling : Yes
a Correct Marks : 1 Wrong Marks : 0
---------- is the default layout for JPanel in Java Swing
1. GridLayout
2. BorderLayout
3. FlowLayout
m . c
c. o m
4. None
m s e
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 21 of 26
Page 23
Question Number : 83 Question Id : 52612317212 Question Type : MCQ Option Shuffling : Yes
----------- method is used to register a mouse motion listener
1. eventMouseMotionListner()
2. addMouseMotionListner()
3. addMouselistner()
4. None
Question Number : 84 Question Id : 52612317213 Question Type : MCQ Option Shuffling : Yes
Which of the following method is used to draw a outlined rectangle with rounded corners
1. public void fillRect(int x, int y, int width, int height)
2. public void drawRect(int x, int y, int width, int height)
3. public void drawOval(int x, int y, int width, int height)
4. Public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
Question Number : 85 Question Id : 52612317214 Question Type : MCQ Option Shuffling : Yes
------------ component in AWT contains other Components like buttons, textfields, labels
1. Container
2. Window
3. Frame
4. Panel
Question Number : 86 Question Id : 52612317215 Question Type : MCQ Option Shuffling : Yes
-------------- is the primary object type in AJAX
1. AjaxHttp
2. XMLHttp
3. JavaScriptXML
4. XMLHttpRequest
Question Number : 87 Question Id : 52612317216 Question Type : MCQ Option Shuffling : Yes
In Java Script which method is Used to search for substring
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 22 of 26
Page 24
co m .
. s e
em 1. l a
as 2.
str.substring(substring)
str.find(substring) a g
3. str.indexOf(substring)
4. str.indexOf(chatAt(0))
Question Number : 88 Question Id : 52612317217 Question Type : MCQ Option Shuffling : Yes
m
om . co
How you will change date to one week later in java script.
.c e m
e m l a s
l a s ag
1.
ag
2.
m
. co
em
3.
l a s
a g
4.
Question Number : 89 Question Id : 52612317218 Question Type : MCQ Option Shuffling : Yes
Which of the following data formats is Used by AJAX
m
m c. o
c o
2. . JSON
1.
XML
e m
e3.m Plain Text la s
s
la 4. XML, XMLHttp and JavaScriptXML ag
ag
Question Number : 90 Question Id : 52612317219 Question Type : MCQ Option Shuffling : Yes
------------ is a most flexible approach to styling in HTML and CSS
m . c
1. In line style
2. Multiple style
c. o s e m
m a
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l
Page 23 of 26
Page 25
3. Embedded styles
4. External Style
Question Number : 91 Question Id : 52612317220 Question Type : MCQ Option Shuffling : Yes
From the below given options, which is not a W3C recommended specifications
1. DOM
2. SAX
3. DOM & SAX
4. None
Question Number : 92 Question Id : 52612317221 Question Type : MCQ Option Shuffling : Yes
Which of the following is the correct syntax for importing a stylesheet in CSS
1. @import url(“ex.css”)
2. @import -style url(“ex.css”)
3. , @import-css url(“ex.css”)
4. @import-stylesheet url(“ex.css”)
Question Number : 93 Question Id : 52612317222 Question Type : MCQ Option Shuffling : Yes
In a XML document , a graphics can be stirred using the -----------
1. XLink
2. XPointer
3. Xlink and Xpointer
4. None
Question Number : 94 Question Id : 52612317223 Question Type : MCQ Option Shuffling : Yes
What is the correct tag sequence from the following.
1.
2.
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 24 of 26
Page 26
co m .
. s e
em l a
as 3.
a g
4.
m
co
Question Number : 95 Question Id : 52612317224 Question Type : MCQ Option Shuffling : Yes
om .
.c e m
s
Which of the following is true regarding the password field
em l a
s
a
l text area except that text is shown as “*” ag
g
1. It is similar to standard text field except that text is shown as “.” Or “*”
2. a
It is similar to
3. It is similar to hidden field except that text is shown as “.”
4. It is similar to selection list
Question Number : 96 Question Id : 52612317225 Question Type : MCQ Option Shuffling : Yes
m
co
To insert the images, we use the -------------- tag
.
1. picture
s em
2. pic
g l a
3. img a
4. image
Question Number : 97 Question Id : 52612317226 Question Type : MCQ Option Shuffling : Yes
Which of the following is used to set the background color of your webpage
m
c. o
m
c. o
1.
s e m
s em la
gla 2. ag
a
3.
4.
m . c
c. o m
Question Number : 98 Question Id : 52612317227 Question Type : MCQ Option Shuffling : Yes
m s e
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
g l a
Page 25 of 26
Page 27
A webserver default port number
1. 25
2. 22
3. 78
4. 80
Question Number : 99 Question Id : 52612317228 Question Type : MCQ Option Shuffling : Yes
A Proxy Server is a computer that
1. Gives user permissions
2. Is used to Access external resources
3. Resolves name to IP address
4. Acts as Backup Server
Question Number : 100 Question Id : 52612317229 Question Type : MCQ Option Shuffling : Yes
Which of the following is used to retrieve mails from remote server
1. SMTP
2. HTTP
3. POP3
4. DNS
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 26 of 26