You are on page 1of 5

Q1: What is a daemon??

a None

b It is an antivirus for Linux.

c It is a generic name for e-mail servers on Linux. The most famous one is mailer-
daemon

d It is a program that keeps running on the background after it is called, answering


to requests done by users and other programs.

e It is the generic name for any Linux server.

f None

Q2: What is the default priority of the swap partition?

a 10

b0

c1

d 100

e There are no priorities for swap

f -1

Q3: What is the Commit command is used for??

a To save the current table

b To save the current transaction

c To recover the old table

d None

e None

f To restore the old values


Q4: Which of the following keyword terminates the for loop or switch statement and
transfers execution to the statement immediately following the for loop or switch??

a None

b break

c continue

d None

e None

f None

Q5: What will be the output of the query SELECT * FROM `members` LIMIT 1, 2;?

a None

b None

c the query will return all records from the members table

d the query will generate an error

e the query will return skip the first record then return the following 2 records only

f the query will return the first 2 records

Q6: Which command is used to create an empty file.?

a None

b file

c None

d touch

e mtfile

f mkfile

Q7: The WHERE clause is mandatory when using the SELECT command?
a None

b None

c True

d None

e False

f None

Q8: Which type you will select if you need to store binary data??

a None of the above

b INT

c BIGINT

d BLOB

e None

f Both BIGINT and INT

Q9: Once a table has been created in MySQL, its structure cannot be altered?

a True

b None

c None

d False

e None

f None

Q10: How to list all the docker containers are running with container details.?

a $ docker ps

b None
c None

d $ docker ls

e None

f $ docker details

Q11: You can add a row using SQL in a database with which of the following??

a None

b CREATE

c INSERT

d None

e ADD

f MAKE

Q12: When you need to obtain the ASCII value of a character which of the following function
you'll need to use in PHP??

a None

b ord( );

c .asc( );

d val( );

e None

f chr( );

Q13: Which of the following is NOT a valid PHP comparison operator??

a None

b <=>

c >==

d None
e <>

f >=

You might also like