You are on page 1of 11

Section A) Linux Questions:1) What command is used to search a file in a linux server in dynamic conditions as well?

a) locate b) search c) grep d) find

2) Which file consists of Unix users present in a server? a) /etc/users b) /usr/local c) /etc/passwd d) /etc/usr 3) Which command is used to schedule tasks repeatedly? a) crontab b) repeat c) schedule d) at

4) Which command is used to check the disk space?

a) dd l

b) dl l

c) df lh d) ds l

5) Which command is used to display the ip details of a server?

a) ifcfg b) ifconfig c) iplist d) ipconfig

6) Which command is used to search a text sample in a file a.txt from command prompt?

a) Print sample a.txt b) Search sample a.txt c) Grep sample a.txt d) Cat sample a.txt

7) What command is used to find the system summary?

a) system sum

b) sum system c) top d) less

8) What default permission does u need to open a directory?

a) rwx

b) w c) r d) x

9) Which of the following command(s) will show a list of the files in your home directory including hidden files and the contents of all subdirectories? Choose one: a. ls -c home b. ls -aR /home/username c. ls -aF /home/username d. ls -l /home/username

10) How do you copy an entire directory structure? Eg from task to tak.backup a) Cp r task task. Backup b) Cp e c) Cp d d) Cp s

11)

Which command is used to check the process running in the system? d) ls a

a) Pd a b) ps a c) process e

12)

Which command is used to show the current working directory?

a) Cwd b) dwd c) pwd d) None of the above

13)

What does this command do chmod go +rw?

a) Gives the file called go, read and execute permission on all files in the current directory. b) Gives Groups others read and execute permission on all files in the current working directory c) Gives read + execute permission on all files were execute access in already set d) Gives file named go read + execute permission on all files in the current working directory only.

14)

How do you add a user in linux?

a) adduser b) addusr c) useradd d) usradd

15)

Which command is used to convert Dos into Linux format?

a) Dos2unix b) unix2dos c) Dos2Linux d) All of the Above

Section B: Database Question:


1) What does SQL Stands For? a) Structured Query Language b) Strong Question Language c) Structured Question Language d) None of the Above

2) Which SQL statement is used to extract data from a database? a) SELECT b) GET c) OPEN d)EXTRACT

3) Which of the following is not a CONSTRAINT? a) CHECK b) IN c) NOT NULL d) UNIQUE

4) Which clause is used to display the records in a table either in ascending or descending values. a) GROUP BY b) ORDER BY c) LIST BY d) LIST ORDER BY

5) Which SQL statement is used to insert new data in the database? a) ADD RECORD b) ADD NEW c) INSERT d) INSERT NEW 6) With SQL, how do you select a column named Firstname from a table named Persons? a) SELECT Persons.Firstname b) EXTRACT Firstname From Persons c) Select Firstname from Persons d) None of the above

7) Write a basic syntax of create table command (with different datatypes at least one constraint. ) 8) What is the use of COMMIT and ROLLBACK? 9) With SQL, how do you select all records from a table named Persons where the value of the column Firstname starts with an abc?

a) SELECT * from Persons WHERE FIRSTNAME LIKE %abc b) SELECT * FROM Persons where Firstname=abc c) SELECT * FROM PERSONS WHERE FIRSTNAME Like %abc% d) SELECT * FROM Persons WHERE FIRSTNAME=abc%

10) The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions are listed are true. a) False b) True

11)

Which SQL Statement is used to avoid duplicate records?

a) SELECT DIFFERENT b) SELECT DISTINCT c) SELECT UNIQUE d) SELECT DIFF

12) 13) 14) 15)

What is a Primary Key? What is difference between where clause and a having clause? Difference Between Truncate and Delete? What is the use of indexing the tables?

Section C:
Logical and Analytical Questions :

1 ) Fifty Minutes ago if it was four times as many minutes past three o' clock , how many minutes is it to six o' clock ? a ) 26 minutes b ) 30 minutes c ) 25 minutes d ) 28 minutes e ) none of the above

2 ) 1 chocolate cost is Rs.1 & if we return 3 wrapers(covers) of chocolate we get 1 more chocolate. If u have Rs.15 how many chocolates do u get...? a)15 b)20 c)21 d) 22

3) Look at this series: 70, 71, 76, __, 81, 86, 70, 91, . . . What number should fill the blank? a. 70 b. 71 c. 80 d. 96

4) 4+5=41 5+6=61 6+7=? a) 71 b) 81 c)85 d) 95 5 ) Dakota: It is true that people have been allowed to receive a drivers license at sixteen for generations. However, in recent years, the increase in traffic means drivers face more dangers than ever and must be ready to respond to a variety of situations. The fact that schools can no longer afford to teach drivers education results in too many young drivers who are not prepared to face the traffic conditions of today. On what does Dakota rely in making her argument? Ans: a. statistics b. emotion c. fairness d. anecdotes e. actualities

6) An employee has been assigned the task of allotting offices to six of the staff members. The offices are numbered 1 - 6. The offices are arranged in a row and

they are separated from each other by six foot high dividers. Hence voices, sounds and cigarette smoke flow easily from one office to another. Miss Robert's needs to use the telephone quite often throughout the day. Mr. Mike and Mr.Brown need adjacent offices as they need to consult each other often while working. Miss.Hardy, is a senior employee and has to be allotted the office number 5, having the biggest window. Mr. Donald requires silence in the offices next to his. Mr. Tim, Mr. Mike and Mr. Donald are all smokers. Miss Hardy finds tobacco smoke allergic and consecutively the offices next to hers to be occupied by non-smokers. Unless specifically stated all the employees maintain an atmosphere of silence during office hours. i) The ideal candidate to occupy the office furthest from Mr. Brown would be (a) Miss Hardy (b) Mr. Mike (c) Mr. Tim (d) Mr. Donald (e) Mr. Robert ii) The three employees who are smokers should be seated in the offices. (a) 1, 2 and 4 (b) 2, 3 and 6 (c) 1, 2 and 3 (d) 1, 2 and 3 (e) 1, 2 and 6 7) JAUNDICE: LIVER a. rash : skin b. dialysis : kidney c. smog : lung d. valentine : heart e. imagination : brain 8) Make 69 using 1, 9, 9, 3 operators +,-,x,/ are allowed numbers are not to be repeated . 9) Frank is 15 years younger then John. In 5 years John will be twice as old as Frank. How old will Frank be in four years? a) 8 b) 10 c) 12 d) 14 e) 16 10) In a four-day period Monday through Thursday each of the following temporary office workers worked only one day, each a different day. Ms. Johnson was scheduled to work on Monday, but she traded with Mr. Carter, who was originally scheduled to work on Wednesday. Ms. Falk traded with Mr. Kirk, who was originally scheduled to work on Thursday. After all the switching was done, who worked on Tuesday? a) Carter b)Falk c) Johnson d) Kirk

1) Differentiate between a Port and Socket.

2) Explain in brief about DHCP and DNS

3) What are the different topologies present in networking?

4) Differentiate between a Router, a Bridge,a Switch, a Repeater and a Hub. 2 5) Explain the need and importance of Ipv6?

6) What is meant by a Frame Relay?

7) Briefly explain about RIP, OSPF and BGP.

8) What are the different types of switching present in networks?

9) Differentiate between Bit rate and Baud rate.

10) What are the different layers of OSI and give few examples of each layer .

11 What is IP datagram fragmentation and MTU? 12 13 Larger the IP datagram less the overhead, is it true or false? 14

15 Can you explain the concept of static and dynamic routing? 16 17 14) How can we interrelate IP and MAC addresses? 18 19 15) Differentiate between TCP and UDP 20 21 16) What are the different classes of IP addressing present in Ipv4. Explain in brief the use of Private and Public IP addresses. 22 23 17) Mention different types of acknowledgment techniques used in TCP? 24 25 18) Explain about ARP and RARP 26 27 19) What are the functionalities of bottom three layers of OSI model? 28 20) How can we change the MAC address of a system?

SQL

1 What are the roles of SQL ?

2 Define candidate key, alternate key, composite key. 3 4 What is database replication? What are the different types of replication you can set up in SQL Server?

2 Explain about BREAK and COMPUTE in SQL.

2 How to select a last n records from a table ?

2 How to add new column in the existing table at our desired location?

2 Whats the output of the below query select * from emp where rowid in(select decode(rownum,2,rowid) from emp);

8) Table : Software
PNAME (VARCHAR), TITLE (VARCHAR), DEVIN (VARCHAR), SCOST (NUMBER), DCOST (NUMBER), SOLD (NUMBER)

Whats the output of the below query SELECT MAX(SOLD) FROM SOFTWARE; 9) Table: Programmer
PNAME (VARCHAR), DOB (DATE), DOJ (DATE), SEX (CHAR), PROF1 (VARCHAR), PROF2 (VARCHAR), SAL (NUMBER)

SELECT * FROM PROGRAMMER WHERE PROF1 IN (C',PASCAL) OR PROF2

IN (C',PASCAL);
10 NOTE: Use above table

Write a query to update the salary of an employee whose service time is more than 6 months.

You might also like