Computer Knowledge

Programming Fundamentals

2,381 Questions

Programming fundamentals form the core logic of software development and computer science. This includes variable declarations, pointer assignments, loop iterations, and exception handling. These technical topics are regularly tested in computer knowledge and IT officer competitive examinations.

Variables and arraysPointer assignmentsLoop iterationsException handling blocksCompile time errorsFunction references

Programming Fundamentals Questions

Multiple choice
  1. relocating loader itself

  2. linker

  3. assembler or translator

  4. macro processor

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Relocation bits, which indicate which parts of an object code need address adjustment during loading, are generated and provided by the assembler or translator when converting source code to machine code.

Multiple choice
  1. once

  2. twice

  3. thrice

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The 'FOR-DO' construct (or a standard 'do-while' loop in many languages) is designed to execute the loop body at least once before checking the condition.