Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 376 to 390 of 627

Q. Scalar variables                      

a. include string exclusively

b. are defied two discrete values

c. are the building blocks of more complicated data structure

d. always operate in the same manner as variable in algebric function

  • c. are the building blocks of more complicated data structure

Q. STDIN, or standard in, is a mechanism for

a. performing type conversion automatically

b. retrieving data from the user while a script is executing

c. prompting the user for specific information

d. outputting a string to standard out

  • b. retrieving data from the user while a script is executing

Q. Perl is scripting language which is based on

a. inerpreter

b. compiler

c. assembler

d. all of the above

  • a. inerpreter

Q. What is the extension of the perl file ?

a. .p

b. .pl

c. .perl

d. .pe

  • b. .pl

Q. which is escape character in perl ?

a. //

b. !

c. \\

d. |

  • c. \\

Q. An array, in perl, is an              

a. un-ordered list of scalar data

b. ordered list of scalar data

c. ordered list of numbers

d. none of the above

  • b. ordered list of scalar data

Q. The logical operator op1 && op2 means

a. performs a logical not of the operand

b. performs a logical or of the two operands

c. performs a logical and of the two operands

d. performs alogical and then or of the two operands

  • c. performs a logical and of the two operands

Q. Perl uses this <=> operator for              

a. equal

b. comparision

c. less than or equal

d. greater than and equal

  • b. comparision

Q. Which of the following statements is NOT TRUE statements ?

a. perl chomp function will not remove all whitespace characters by default

b. perl chomp function returns the number of characters removed

c. perl chomp function checks whether the last character matches the input line separator and only then it deletes it.

d. it deletes the last ending varibale character regardless of whatever it is.

  • d. it deletes the last ending varibale character regardless of whatever it is.

Q. Default file accessed through a print statement in perl is              

a. stdin

b. stdout

c. stderr

d. all of these

  • b. stdout

Q. What is python ?

a. it is object oriented programming language

b. it is software package

c. it is intrpreter

d. it is assembly language

  • a. it is object oriented programming language
Subscribe Now

Get All Updates & News