Computer Knowledge

Programming Fundamentals

2,611 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. Only (a)

  2. Only (b)

  3. Only (c)

  4. Only (d)

  5. None of these

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

It is correct, and follows the right syntax for a function, for example, function message( ).

Multiple choice
  1. Syntax errors

  2. Semantic errors

  3. Logical errors

  4. Internal errors

  5. _

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

It is an error in the syntax of a sequence of characters that is intended to be written in a particular programming language. Syntax errors occur during the parsing of input code and are caused by grammatically incorrect statements.

Multiple choice
  1. similar datatype only

  2. dissimilar datatype only

  3. integer datatype only

  4. string datatype only

  5. all datatypes

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

Structure can use any type of data type within it and the new data type is called structure data type.