Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 391 to 405 of 627

Q. "//" in pyhon is                    

a. floor division operator

b. comment

c. new line

d. none of the above

  • a. floor division operator

Q. "**" in python is an                    

a. exponentiation

b. address of

c. value redirection

d. none of the above

  • a. exponentiation

Q. In python, multi line string are given by

a. single quotes

b. double quotes

c. triple quotes

d. none of the above

  • c. triple quotes

Q. python source code file has an extension of

a. pys

b. py

c. src

d. none of the above

  • b. py

Q. Which of the following procedure a true or false result ?

a. control structure

b. strong typing

c. data types

d. boolean express

  • d. boolean express

Q. Which of the following language has an IF statement for making decision ?

a. perl chomp function will

b. c++

c. python

d. all of these

  • d. all of these

Q. Which of following language does not requires declarations ?

a. java

b. c++

c. python

d. vb.net

  • c. python

Q. Which of the following is not a valid data type in python ?

a. int

b. float

c. double

d. str

  • c. double

Q. How do you find out what's your shell ?

a. echo $shell

b. echo $shell

c. echo $shell

d. echo shell

  • a. echo $shell

Q. What is command to find out todays date ?

a. time

b. date

c. cal

d. cd

  • b. date

Q. What's the command to find out users on the system ?

a. who

b. whoami

c. user

d. pwd

  • a. who

Q. How do you find current directory you are in ?

a. cd

b. pwd

c. chdir

d. mkdir

  • b. pwd

Q. Which variable contains current shell process id ?

a. $*

b. $?

c. $$

d. $!

  • c. $$

Q. Which command is used to debug a shell script program ?

a. set

b. set -x

c. debug

d. db

  • b. set -x
Subscribe Now

Get All Updates & News