ICS Part 2 Computer Science Chapter 9 Short Questions Test With Answer

Online Short Questions For Chapter 9 "ICS Part 2 Computer Science Chapter 9 Short Questions Preparation "

Try The Short Questions For ICS Part 2 Computer Science Chapter 9 Short Questions Preparation

  • Total Questions10

  • Available Sets4

Computer Science - ICS Part 2 Computer Science Chapter 9 Short Questions Preparation

Question # 1

Differentiate between declaring and defining a variable.

  • Ans 1: Declaring :
    1. A variable declaration does not set aside memory location for the data to be stored. It just informs the compiler the name of the variable and the type of data to be stored in it.
    2. Declaration will identify the data type of the identifier.
    3. Re-declaration is illegal in C programming language.
  • Ans 2: Defining :
    1. A variable definition set aside memory location for the variable.
    2. Definition of the variable will assign some value to it.
    3. Re-definition is illegal in C programming language.
Submit

Prepare Complete Set Wise Questions For Chapter 9 "ICS Part 2 Computer Science Chapter 9 Short Questions Preparation "

ICS Part 2 Computer Science Chapter 9 Short Questions Preparation - Set 1

Question # 1

Differentiate between declaring and defining a variable.

  • Ans 1: Declaring :
    1. A variable declaration does not set aside memory location for the data to be stored. It just informs the compiler the name of the variable and the type of data to be stored in it.
    2. Declaration will identify the data type of the identifier.
    3. Re-declaration is illegal in C programming language.
  • Ans 2: Defining :
    1. A variable definition set aside memory location for the variable.
    2. Definition of the variable will assign some value to it.
    3. Re-definition is illegal in C programming language.
Submit

ICS Part 2 Computer Science Chapter 9 Short Questions Preparation - Set 2

Question # 1

Define compound assignment statement.

  • Ans 1: Compound Assignment Statement: The statement in which we used compound assignment operators is called compound assignment statement
Submit

ICS Part 2 Computer Science Chapter 9 Short Questions Preparation - Set 3

Question # 1

Described Single Comments in C.

  • Ans 1: Comments is used to increase the readability of the program.With comments, informative notes are inserted in the program's code , which helps in debugging and modifying the program. One can insert single line comments by typing two (forward) slashes at the start of the note such as:
    // This program calculated the factorial of the given number .
    These are called single-line comments.
Submit

ICS Part 2 Computer Science Chapter 9 Short Questions Preparation - Set 4

Question # 1

Differentiate between declaring and defining a variable.

  • Ans 1: Declaring :
    1. A variable declaration does not set aside memory location for the data to be stored. It just informs the compiler the name of the variable and the type of data to be stored in it.
    2. Declaration will identify the data type of the identifier.
    3. Re-declaration is illegal in C programming language.
  • Ans 2: Defining :
    1. A variable definition set aside memory location for the variable.
    2. Definition of the variable will assign some value to it.
    3. Re-definition is illegal in C programming language.
Submit

9th Chapter

12th Computer Science Chapter 9 Preparation

Here you can prepare 12th Computer Science Chapter 9 Problem Solving Preparation. Click the button for 100% free full practice test.