Basic CS [3i Infotech Placement]: Sample Questions 117 - 120 of 243

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 117

Edit

Describe in Detail

Essay▾

What are register variables? What are the advantages of using register variables?

Explanation

  • The variables of ‘register’ type hint the compiler to store the variable in a register of the CPU.
  • Can be used for frequently used variables.

Advantages of Register variable:

  • Optimize the speed of program execution.
  • Faster by orders of magnitude.
  • Refer for variables accessed frequently.
  • Allocates fast memory in the form of a register.

Question 118

Write in Short

Short Answer▾

Reorders of

Explanation

Step 1

Step 2

Step 3

Step 4

So, correct answer

Question 119

Edit

Write in Short

Short Answer▾

Is Windows NT a full blown object oriented operating system? Give reasons.

Explanation

  • No, window NT is not a full-blown object oriented operating system.
  • Not implemented in OOP language and data structures reside within one executive component and not represented as objects.
  • Does not support object oriented capabilities.

Question 120

Edit

Describe in Detail

Essay▾

What is PSW?

Explanation

Program Status Word
  • Program status word or the status register refers to current state of a particular processor.
  • Consists of several flag bits for a processor- PSW is thus sometimes referred to as a “flag register” . Also called Program Status Word or “condition code register” .
  • Contains details on the process state of the microprocessor.
  • Status flags are written by machine code instructions currently running on the processor.

Developed by: