Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

UGC NET Computer Science Previous Year Questions (PYQs)

UGC NET Computer Science Central Processing Unit (CPU) PYQ


UGC NET Computer Science PYQ

The fault can be easily diagnosed in the micro-program control unit using diagnostic tools by maintaining the contents of:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

In a micro-program control unit, diagnostic tools help in detecting faults by observing and maintaining important internal states.

These internal states include flags, registers and counters.

Flags store status information, registers store intermediate data and counters help in tracking sequence or control steps.

Therefore, fault diagnosis becomes easier by maintaining the contents of flags, registers and counters.


UGC NET Computer Science PYQ

Consider the following x86 assembly language instructions:

MOV AL, $153$
NEG AL

The contents of the destination register AL in $8$-bit binary notation, the status of Carry Flag $(CF)$ and Sign Flag $(SF)$ after the execution of above instructions, are:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2018 (Paper II) PYQ

Solution

Given,

$AL=153$

Binary form of $153$ is

$10011001$

The instruction NEG AL performs two's complement.

So,

Two's complement of $10011001$ is

$01100111$

Therefore,

$AL=01100111$

Since the operand is non-zero, Carry Flag is set.

So,

$CF=1$

The result $01100111$ has most significant bit $0$.

So, Sign Flag is

$SF=0$



UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Limited Seats
× Aspire MCA Promotion

Game Changer NIMCET Test Series 2026

Boost your preparation with mock tests, analysis and rank-focused practice.

JOIN NOW
Ask Your Question or Put Your Review.

loading...