0% found this document useful (0 votes)
2 views3 pages

Student Questionnaire on Computer Concepts

Uploaded by

Tahreem Zubair
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Student Questionnaire on Computer Concepts

Uploaded by

Tahreem Zubair
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Student Questionnaire Answers

Q1. Trouble in calculating physical address


Short Answer: The physical address is obtained by adding the segment address (shifted left by 4
bits) and the offset.
Detailed Answer: In real mode addressing, the CPU uses a segment register and an offset to
form a physical address. The segment address is shifted left by 4 bits (×16) and then the offset
is added. This allows memory access beyond 64 KB boundaries while using 16-bit registers.

Q2. Why is two's complement used to represent signed integers instead of a simpler
sign-magnitude method?
Short Answer: Two’s complement simplifies arithmetic and avoids dual zero representation.
Detailed Answer: Two’s complement allows the same hardware circuit to perform addition and
subtraction without special handling for negative numbers. It also removes the issue of having
+0 and -0 as separate values, which simplifies comparison and logic operations.

Q3. High level Hierarchy


Short Answer: It refers to the top-down structure of a computer system from software to
hardware.
Detailed Answer: High-level hierarchy describes the layered architecture of computer systems
— starting from user applications, operating systems, machine instructions, and finally the
hardware level. Each layer interacts only with its immediate lower or upper level.

Q4. Conversation between Number system


Short Answer: It means converting numbers from one base to another.
Detailed Answer: Number system conversion is the process of translating values between
binary, octal, decimal, and hexadecimal formats. Understanding these conversions is essential
in programming, digital logic, and computer architecture to interpret data correctly.

Q5. Concept of Decimal to hexadecimal conversion


Short Answer: Divide the decimal number by 16 repeatedly and record remainders.
Detailed Answer: In this process, the decimal value is divided by 16, and the remainder at each
step represents one hexadecimal digit. The digits are written in reverse order to get the final
hexadecimal representation.

Q6. Computer organisation vs architecture


Short Answer: Organization is about implementation, architecture is about design.
Detailed Answer: Computer architecture defines what the system does — its instruction set,
addressing modes, and functionality. Computer organization describes how those features are
physically implemented — circuits, memory types, and control signals.

Q7. Role of base and how it affects the value of digits


Short Answer: The base determines the weight of each digit’s position.
Detailed Answer: In positional number systems, the base (or radix) defines how many unique
digits exist and how each digit contributes to the total value. For example, in base 10, digits
represent powers of 10, while in base 2, they represent powers of 2.

Q8. Concepts of segments and offset are confusing especially logical vs physical
Short Answer: Logical address = segment + offset; physical = actual memory location.
Detailed Answer: A logical address is a combination of a segment and an offset. The CPU
translates this into a physical address by shifting the segment and adding the offset. This
translation enables memory management beyond single-segment boundaries.

Q9. When converting hexadecimal to binary, why do we convert each hex digit to
exactly 4 bits?
Short Answer: Because one hexadecimal digit equals four binary bits.
Detailed Answer: The hexadecimal system is base-16, and each digit directly maps to 4 binary
bits (since 2■ = 16). If the leftmost group has fewer bits, leading zeros are added to maintain
consistent 4-bit grouping for correct interpretation.

Q10. Assembly language


Short Answer: A low-level language that uses symbolic names for machine instructions.
Detailed Answer: Assembly language allows programmers to write code using mnemonics (like
MOV, ADD, JMP) instead of binary opcodes. It provides direct hardware control but requires an
assembler to translate it into machine code.

Q11. Hexadecimal Arithmetic Operation


Short Answer: It involves performing addition, subtraction, multiplication, or division in base 16.
Detailed Answer: Hexadecimal arithmetic works like decimal but uses digits 0–9 and A–F. When
results exceed F (15 decimal), carry-over occurs just like base-10 arithmetic. Useful for memory
addressing and debugging.

Q12. The 2nd question about computer architecture


Short Answer: It refers to the structure and behavior of the computer system.
Detailed Answer: Computer architecture defines the conceptual design and functional behavior
of a computer. It includes the instruction set, data formats, and control logic that determine
system performance and compatibility.

Q13. Hexadecimal arithmetic operation (subtraction)


Short Answer: Subtract each digit as in decimal; borrow from higher digits if needed.
Detailed Answer: In hexadecimal subtraction, A–F digits are treated as 10–15. If a lower digit is
smaller, borrowing occurs from the next higher digit, reducing it by one (equivalent to subtracting
16).

Q14. Role of ALU, register, and control unit


Short Answer: ALU performs operations; registers store data; control unit directs flow.
Detailed Answer: The ALU handles arithmetic and logical tasks, registers provide fast temporary
data storage, and the control unit coordinates data movement, instruction execution, and timing
between all CPU components.

Q15. Differentiate between direct I/O and long-distance data communication


Short Answer: Direct I/O is local device access; long-distance uses networks.
Detailed Answer: Direct I/O occurs within the same system through buses or ports, while
long-distance communication involves data transfer over networks using protocols and
transmission media like cables or wireless links.

Q16. How can two Pentium processors have the same architecture but different
organizations?
Short Answer: Architecture defines function; organization defines implementation.
Detailed Answer: Two CPUs may share the same architecture (instruction set and logic) but
differ in organization (cache size, pipelines, memory hierarchy). This leads to different speeds
and efficiencies while maintaining compatibility.

Q17. Decimal Interpretation


Short Answer: It means understanding a number according to base 10.
Detailed Answer: Decimal interpretation uses digits 0–9, where each position represents powers
of 10. It’s the human-friendly numeric system, contrasting binary or hexadecimal used in
machines.

Q18. Segment Offset Address


Short Answer: It’s the address formed using segment and offset values.
Detailed Answer: A segment:offset pair is combined to access memory in real mode. The
segment is multiplied by 16 and added to the offset to form the final physical address used by
the CPU.

Q19. The 3rd question about computer organization


Short Answer: It deals with the hardware structure and control signals.
Detailed Answer: Computer organization focuses on internal components like ALU, registers,
and buses — how they interact and transfer data. It’s about *how* the system executes
instructions defined by the architecture.

Q20. Pointer and index register


Short Answer: Used for memory addressing and data manipulation.
Detailed Answer: Pointer registers store memory addresses for stack or data segments, while
index registers are used for array access and iterative operations. Both support efficient
addressing in assembly programming.

Q21. Concept of segment register and addressing


Short Answer: Segment registers divide memory into manageable blocks.
Detailed Answer: Segment registers (CS, DS, SS, ES) hold base addresses for code, data, and
stack segments. Addressing combines these segment bases with offsets, allowing flexible
access within 1 MB memory in real mode.

You might also like