Languages-Assembly Language (3i Infotech Papers): Sample Questions 1 - 3 of 51

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

Question number: 1

» Languages » Assembly Language

MCQ▾

Question

Time taken for satellite hop in voice communication is

Choices

Choice (4) Response

a.

seconds

b.

seconds

c.

seconds

d.

second

Answer

d.

Explanation

Package Delay is travel time of the signal from transmitter station to the receiver station over satellite. For the single-hop satellite connection, delay of around is caused by the distance between the satellite and the location on the Earth.

Question number: 2

» Languages » Assembly Language

MCQ▾

Question

Conditional results after execution of an instruction in a microprocessor are stored in

Choices

Choice (4) Response

a.

accumulator

b.

flag register part of PSW (Program Status Word)

c.

register

d.

flag register

Answer

b.

Explanation

Image of processor status word

Image of Processor Status Word

Image of processor status word

  • Conditional results after execution of an instruction in a microprocessor are stored in flag register part of PSW (Program Status Word).

  • A status register, flag register or condition code register is a collection of status flag bits for a processor.

  • A status register is a hardware register containing information about the state of the processor.

  • The status register thus lets an instruction take action contingent on the outcome of a previous instruction.

Question number: 3

» Languages » Assembly Language

Short Answer Question▾

Write in Short

In the command scanf, %h is used for

Explanation

  • Scanf reads data with specified format from a given string stream source.

  • In the command Scanf, %h is used for short int.

  • Example:

int x, y, z, w;

x = scanf (“%h % d %d”, &y, &z, &w):