You are on page 1of 28

Question Option - 1

Despite the presence of negative feedback, control systems still have problems of
instability because Components used
Which system is also known as automatic control system? Open loop control s
Advantages of open loop system is/are simple and economic
Which of the following are the disadvantages of a closed loop control system? Reduces the overall

The output of the system has an effect upon the input quantity, then the system is a open loop control s

By using which of the following elements, mechanical translational systems are obtained? mass

Which of the following is the analogous quantity for mass element in force-voltage analogy? resistance
Electrical analogous quantity for spring element (K) in force-voltage analogy is L
In force-current analogy, electrical analogous quantity for displacement (x) is voltage
Electrical analogous quantity for dash-pot in force-current analogy is resistance
If a circuit consists of two mass elements, two spring elements and four friction elements.
Find the order of transfer function? 3
In signal
When flow graph
writing inputfunction
a transfer node iswhich
node having only------------
of the following loops are not valid incoming branches.
loops? Self loops at input
Transient state analysis deals with ------------- magnitude of error
The type of a control system is obtained from -------------- transfer function? open loop control
Option - 2 Option - 3 Option - 4 Option - 5

Dynamic equations
Mathematical analysis involSystem has large negative phase angle at hi
Closed loop control Either 1 or 2 Nether 1 nor 2
accurate. reliable. all of the above.
Complex and costly. Oscillatory response. All of the above.

closed loop control either 1 or 2. none of the above.

spring dashpot all the above

Inductance capacitance all the above


R inverse of C C
Inductance capacitance flux
conductance inductance capacitance

6 4 2
outgoing branche both 1 & 2 none of the above.
Self loops at outp both 1 & 2 none of the above.
nature of response both 1 & 2 none of the above.
closed loop contr both 1 & 2 none of the above.
Number of options Correct answer Marks Negative marks

4 1 4 1
4 2 4 1
4 1 4 1
4 4 4 1

4 2 4 1

4 4 4 1

4 2 4 1
4 3 4 1
4 4 4 1
4 2 4 1

4 3 4 1
4 2 4 1
4 1 4 1
4 2 4 1
4 1 4 1
SQL question
What is the full form of SQL?
Which is the subset of SQL commands used to manipulate Oracle Database structures,
including tables?

Which operator performs pattern matching?


What operator tests column for the absence of data?

In SQL, which command(s) is(are) used to change a table's storage characteristics?


In SQL, which of the following is not a data definition language commands?
In SQL, which command is used to SELECT only one copy of each set of duplicable rows

A command that lets you change one or more fields in a record is


Which of the SQL statements is correct?

The FROM SQL clause is used to...


Which SQL keyword is used to retrieve only unique values?
Which SQL keyword is used to retrieve a maximum value?
Which of the following SQL commands is used to retrieve data?
Which of the following is a SQL aggregate function?
Which SQL statement is used to update data in a database?
Which SQL statement is used to delete data FROM a database?
Which SQL keyword is used to sort the result-set?
The SQL statement SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;
Which of the following group functions ignore NULL values?
Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT
SALARY FROM EMPLOYEE);
prints

The SQL statement SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM


DUAL; prints
The SQL statement SELECT ROUND(45.926, -1) FROM DUAL;
Which of the following must be enclosed in double quotes?
Which of the following command makes the updates performed by the transaction
permanent in the database?
Which command undo all the updates performed by the SQL in the transaction?

Find all the cities whose humidity is 89

Find the temperature in increasing order of all cities


What is the meaning of LIKE '%0%0%'
The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs

Which of the following is illegal?


Let the statement SELECT column1 FROM myTable; return 10 rows. The statement SELECT
ALL column1 FROM myTable; will return
Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT
SALARY FROM EMPLOYEE); prints

Which of the following SQL commands can be used to add data to a database table?
Which of the following join is also called as an 'inner-join'?
Which of the following is NOT a type of SQL constraint?
What is an SQL virtual table that is constructed from other tables?
The SQL ALTER statement can be used to:
The command to remove rows from a table 'CUSTOMER' is:
The SQL WHERE clause:

The SQL keyword(s) ________ is used with wildcards.


Option1 Option2
Structured Query Language Structured Query List

Data Definition Language(DDL) Data Manipulation Language(DML)


BETWEEN operator LIKE operator
EXISTS operator NOT operator

ALTER TABLE MODIFY TABLE


RENAME REVOKE

SELECT DISTINCT SELECT UNIQUE


Insert Modify
SELECT Username AND Password SELECT Username, Password
FROM Users FROM Users

specify what table we are selecting or


deleting data FROM specify range for search condition
DISTINCTIVE UNIQUE
Top Most
DELETE INSERT
Lef Avg
Save Update
COLLAPSE REMOVE
SORT BY ORDER
6789 2345
Max Count
10 9

gh 23

is illegal prints garbage


Dates Column Alias
COMMIT
ROLLBACK
ROLLBACK COMMIT
SELECT city FROM weather WHERE
SELECT city WHERE humidity = 89; humidity = 89;

SELECT city FROM weather ORDER BY SELECT city, temperature FROM


temperature; weather;
Feature begins with two 0's Feature ends with two 0's
Hi FLASE
SELECT SYSDATE - SYSDATE FROM SELECT SYSDATE - (SYSDATE - 2)
DUAL; FROM DUAL;

less than 10 rows more than 10 rows

10 9

Add Update
Non-Equijoin Self-Join
PRIMARY KEY ALTERNATE KEY
View A Relation
change the table data. change the table structure.
DROP FROM CUSTOMER ... UPDATE FROM CUSTOMER ...
limits the column data that are
limits the row data are returned. returned.
NOT IN only LIKE only
Option3 Option4 Option5 No of optiAnswer
Simple Query Language None of these 1

Both of above None 1


EXISTS operator None of these 2
IS NULL operator None of these 3

CHANGE TABLE None of these 1


GRANT UPDATE 4

SELECT DIFFERENT All of the above 1


Look-up All of the above 2
SELECT Username, Password
WHERE Username = 'user1'
None of these 2

specify search condition None of these 1


DISTINCT DIFFERENT 3
Upper Max 4
SELECT JOIN 3
Join Len 2
Save as Modify 2
ALTER DELETE 4
ORDER BY SORT 3
1234 456789 2
Sum All of the above 4
5 0

2
bc ab
1
prints 045.926 prints 50 4
Strings All of the above 2
DELETE
TRUNCATE 2
TRUNCATE DELETE 1
SELECT humidity = 89 FROM SELECT city FROM weather;
weather; 2
SELECT city, temperature FROM SELECT city, temperature FROM
weather ORDER BY temperature; weather ORDER BY city;

3
Feature has two 0's in it, at any
Feature has more than two 0's position 4
1 Nothing 4
SELECT SYSDATE - (SYSDATE + 2)
FROM DUAL; None of these 4

exactly than 10 rows None of these 3

5 0 4

Append Insert 4
Equijoin None of these 3
FOREIGN KEY UNIQUE 2
Just another table Query results 1
delete rows from the table. add rows to the table. 2
REMOVE FROM CUSTOMER ... DELETE FROM CUSTOMER WHERE ... 4

Both option 1and 2 are correct Neither option 1nor 2 are correct 1
IN only IN and NOT only 2
Marks Negative difficulty level(easy: 0, normal : 1,Hard :2)
2 1 1

2 1 1
2 1 1
2 1 1

2 1 1
2 1 1

2 1 1
2 1 1

2 1 1

2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1

2 1 1

2 1 1
2 1 1
2 1 1

2 1 1
2 1 1

2 1 1

2 1 1
2 1 1
2 1 1

2 1 1

2 1 1

2 1 1

2 1 1
2 1 1
2 1 1
2 1 1
2 1 1
2 1 1

2 1 1
2 1 1
JAVA question
Who is known as father of Java Programming Language?
Which is a reserved word in the Java programming language?
Which is a valid keyword in java?
Which one is a valid declaration of a boolean?
Which is a valid declarations of a String?
What is the numerical range of a char?
Which of the following would compile without error?
In java control statements break, continue, return, try-catch-finally and assert belongs to?
Which provides runtime environment for java byte code to be executed?
What is byte code in Java?
Which of the following are not Java keywords ?
Which of these have highest precedence?
Which of these is returned by operator '&' ?
Data type long literals are appended by _____
Which variables are created when an object is created with the use of the keyword 'new' and
destroyed when the object is destroyed?
Java language was initially called as ________
Which one is a template for creating different objects ?
Which symbol is used to contain the values of automatically initialized arrays?

Which one is true about a constructor ?


Which of these operators is used to allocate memory to array variable in Java?
Which of these is not a bitwise operator?

Which of these is returned by Greater Than, Less Than and Equal To (i.e Relational) operator ?
Which statement transfer execution to different parts of your code based on the value of an
expression?
Modulus operator (%) can be applied to which of these?
What feature of OOP has a super-class sub-class concept?
Which of the following are not the methods of the Thread class?
Division operator has ____ precedence over multiplication operator
What is the full form of JVM ?
In Java code, the line that begins with /* and ends with */ is known as?
Which of the following are not Java modifiers?
Which class does not override the equals() and hashCode() methods, inheriting them directly from
class Object?
Which collection class allows you to grow or shrink its size and provides indexed access to its
elements, but whose methods are not synchronized?

You need to store elements in a collection that guarantees that no duplicates are stored and all
elements can be accessed in natural order. Which interface provides that capability?
Which interface does java.util.Hashtable implement?
Which interface provides the capability to store objects using a key-value pair?
Which is valid declaration of a float?
What is the numerical range of char?
What is the name of the method used to start a thread execution?
Which of the following will directly stop the execution of a Thread?
Which will contain the body of the thread?
Option1 Option2
James Gosling M. P Java
method native
interface string
boolean b1 = 0; boolean b2 = 'false';
String s1 = null; String s2 = 'null';
-128 to 127 -(215) to (215) - 1
int a = Math.abs(-5); int b = Math.abs(5.0);
Selection statements Loop Statements
JDK JVM
Code generated by a Java compiler Code generated by a Java Virtual Machine
double Switch
() ++
Integer Character
Uppercase L Lowercase L

Local variables Instance variables


Sumatra J++
An Array A class
Brackets Braces

A constructor must have the same


name as the class it is declared within. A constructor is used to create objects.
alloc malloc
&' Operator &=' Operator

Fload Integer

if switch
Integer Floating - point numbers
Hierarchical inheritance Single inheritance
yield() sleep(long msec)
Heighest Least
Java Very Large Machine Java Verified Machine
Multiline comment Single line comment
public private

java.lang.String java.lang.Double
java.util.HashSet java.util.LinkedHashSet

java.util.Map java.util.Set
Java.util.Map Java.util.List
Java.util.Map Java.util.Set
float f = 1F; float f = 1.0;
0 to 32767 0 to 65535
init(); start();
wait() notify()
run(); start();
Option3 Option4 Option5 No of options
Charel Babbage Blais Pascal
subclasses reference
Float unsigned
boolean b3 = false; boolean b4 = Boolean.false();
String s3 = (String) 'abc'; String s4 = (String) '\ufeed';
0 to 32767 0 to 65535
int c = Math.abs(5.5F); int d = Math.abs(5L);
Transfer statements Pause Statement
JRE JAVAC
Name of Java source code file Block of code written inside a class
then instanceof
* >>
Boolean Float
Long Both A and B

Class Variables Static variables


Oak Pine
Interface Method
Parentheses Comma

A constructor may be declared


private All of the above
New malloc New
|=' Operator <=' Operator

Boolean Double

Nested-if if-else-if
Both option 1& 2 None of These
Multiple inheritances Multilevel inheritance
go() stop()
Equal None of These
Java Very Small Machine Java Virtual Machine
Both option 1& 2 None of these
friendly transient

java.lang.StringBuffer java.lang.Character
java.util.List java.util.ArrayList

java.util.List java.util.Collection
Java.util.HashTable Java.util.Collection
Java.util.List Java.util.Collection
float f = "1"; float f = 1.0d;
-256 to 255 -32768 to 32767
run(); resume();
notifyall() exits synchronized code
stop(); main();
Answer Marks Negative difficulty level(easy: 0, normal : 1,Hard :2)
1
2 2 1 1
1 2 1 1
3 2 1 1
1 2 1 1
4 2 1 1
1 2 1 1
3 2 1 1
2 2 1 1
1 2 1 1
3 2 1 1
1 2 1 1
2 2 1 1
4 2 1 1

2 2 1 1
3 2 1 1
2 2 1 1
2 2 1 1

4 2 1 1
4 2 1 1
4 2 1 1

3 2 1 1

2 2 1 1
3 2 1 1
1 2 1 1
3 2 1 1
3 2 1 1
4 2 1 1
1 2 1 1
3 2 1 1

3 2 1 1

4 2 1 1

2 2 1 1
1 2 1 1
1 2 1 1
1 2 1 1
2 2 1 1
2 2 1 1
1 2 1 1
1 2 1 1
C# question Option1
What is MSIL? Multi Socket Interface Library
An assembly is A collection of files that appear to the prog
How are structs passed by default in C#? By memory.

What is boxing? Encapsulating an object in a value type.


Which method do you invoke on the
SQLDataAdapter object to load your dataset
with data? update
A class that cannot be inherited is what type of
class? sealed
What is the wildcard character in the SQL "like"
statement? (Asterisk)
Managed methods will be marked as ------------
in MSIL code cil
Which property will you use to process
different server paths in a page? Request
Which file contains configuration data for each
unique URL resource used in project? global.asax
Automatic paging is possible in datareader
In data reader, what can be used before read
method? Getstring
Which object can help you maintain data across
users? Session object
A variable which is declared inside a method is
called a________variable Serial

Feature of a local variable It can be used anywhere in the program


Two methods with the same name but with
different parameters. Overloading

Is there any error in the following code? If yes,


identify the error. EmployeeMgmt constructor:
public int EmployeeMgmt() { emp_id = 100; } Return type

If a class is using an interface, it must inherit the properties of the interface

What is the output of the code public class B : A


{} Errors
___allow to encapsulate discrete units of
functionality and provide a graphical
representation of that functionality to the user controls

Features of readonly variables It is allocated at compile time


An Event has __as default return type No return type for events
int keyword targets to which .Net type? System.Int8
How many web.config files that can be there an
ASP.NET application? only one
Difference between Convert.ToString() and Convert.ToString() handles null values but
ToString() ToString() doesn't

Boxing in .Net allows the user to convert a interger type to double


The RangeValidator control supports the
following data types Integer only
How to kill a user session explicitly? Session.Close()
If you want to add an array in ArrayList then
which method of ArrayList will be used? AddRange
Different ways a method can be overloaded in
C#.NET Different parameter data types
What does the keyword virtual mean in the
method definition? The method is public

___represents a drawing surface and provides


methods for rendering to that drawing surface. Graphic object
Which of the following is not true for abstract It cannot be instantiated
class?

What component of a Data Provider provides


connected, forward-only, read-only access to a
database? DataAdapter

Which of the following refers to providing new


culture-specific resources and retrieving the
appropriate resource based on the culture
setting? Localization
Which of the following automatically detects if
windows installer is installed on the target
machine? Assembly

_____is the verification that all callers to code


have appropriate permission to access it. Code tuning
If no access modifier is specified for a class or a
structure, it is considered .... private

Which of the following is not correct for


delegates? It provides the functionality behind events
____is the ability of different objects to expose
different implementations of the same public
interface. Encapsulation
Option2 Option3 Option4
Microsof Intermediate Language Microsof Interface Language Microsof Integer Long
properties of c# events Of c# declarative syntax of Java
By value. By reference. By address.
Encapsulating a copy of an object Encapsulating a value type in Encapsulating a copy of a
in a value type. an object. value type in an object.

fill gather load

static gather constru

% (Percent) $ (Dollar) # (Pound)

dgclr mscorjit none

Response Server Application

assemblyinfo.cs web.config webapplication.vsdisco


dataset datatabel all

Getvalue GetNumber None

Application Object Server Object Response Object

Local Private Static


It must be declared within a
It must accept a class method It represent a class object

Loading Multiplexing Duplexing

No errors Formal parameters Name


contain the same method
definitions as the interface option 1& 2 None
It defines a class that inherits the
public methods of A only. It defines a class that inherits
all the methods of A but the
private members cannot be
accessed. option 2& 3
object class graphics
Declaration and initialization can
be separated It is initialized at run time all of these
Double Integer String
System.Int16 System.Int32 System.Int64

only two upto 10 one or more


ToString() output as per format Convert.ToString() only handles
supplied null values
ToString() handles null values
but Convert.ToString() doesn't
a value type to a reference
a reference type to a value type type a double type to interger

Date, Integer and String only string Date and Integer


Session.Discard() Session.kill() Session.Abandon()

Add AddArray None of the above

Different number of parameters Different order of parameters option 1 & 2


The method can be over-
The method can be derived The method is static ridden

Pens object Brushes object Colors object


It can contain both implemented It can be instantiated. It can not be instantiated on
methods and abstract methods its own, they must be
inherited.

Command object Connection object DataReader object

Globalization Overloading Encapsulation

Native image Bootstrapper application Globalization

Code access security Common language runtime Common type system


public internal protected

It can be used to invoke a It can not be used for creation


It is a strongly typed function method without making an of association between
pointer. explicit call to that method. events and event handlers.

Overriding Polymorphism Abstraction


Option5 No of optiAnswer Marks Negative difficulty level(easy: 0, normal : 1,Hard :2)
2 2 1 1
1 2 1 1
2 2 1 1

4 2 1 1

2 2 1 1

1 2 1 1

2 2 1 1

1 2 1 1

3 2 1 1

3 2 1 1
3 2 1 1

4 2 1 1

2 2 1 1

2 2 1 1

3 2 1 1

1 2 1 1

1 2 1 1

3 2 1 1

3 2 1 1
1 2 1 1

4 2 1 1
1 2 1 1
3 2 1 1

4 2 1 1

1 2 1 1

3 2 1 1

2 2 1 1
4 2 1 1

1 2 1 1

4 2 1 1

4 2 1 1

1 2 1 1

1 2 1 1

4 2 1 1

1 2 1 1

3 2 1 1

2 2 1 1
3 2 1 1

4 2 1 1

3 2 1 1

You might also like