3i Infotech Papers: Sample Questions 1125 - 1126 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1125

» Languages » Assembly Language

Short Answer Question▾

Write in Short

How is memory management done in Win95?


  • Through paging and segmentation

  • It had only of usable memory.

  • Window had its own directory page- an allocation of entries stored contiguously.

Question number: 1126

» Basic CS » Operating System



Which program construct must return a value?


Choice (4) Response


Anonymous block




Application Procedure






Anatomy of a static method, function call and return type.

Anatomy of a Static Method, Function Call and Return Type.

Anatomy of a static method, function call and return type.

  • Function must return a value.

  • A return statement causes execution to leave the current subroutine and resume at the point in the code immediately after where the subroutine was called, known as its return address.

  • The return address is saved, usually on the process’s call stack, as part of the operation of making the subroutine call.

  • Return statements in many languages allow a function to specify a return value back to the code that called the function.

  • Not necessary for functions to return a value.

  • For example if the function operates on global variables, or on references of actual variables originally being used in the calling function or if there is no computation (and function only displays a message) then function need not return anything from the called function and its return type will simply be void.