Join Telegram Join Now
JAC Board Exam Prep Install Now

String

1. Omitting semicolon at end of a statement is called

  •  Logical error
  •  Syntax error
  • Execution time error
  •  Runtime error
Answer
 Syntax error 

2. The set of rules which gives the meaning of a statement is known as :

  •  Semantics
  • Protocol
  •  Syntax
  • Name of these
Answer
 Semantics 

3. Stages of the program development process are :

  • Compile and Execute the program
  •  Crack and code the program
  • Both a and b
  • None of this method
Answer
Both a and b

4. How many types of compile-time errors?

  • 5
  •  4
  •  3
  • 2
Answer
2

5. Statement terminator in C # is denoted by :

  •  Comma
  • Semicolon ;
  • Exclamation mark!
  •  Colon :
Answer
Semicolon ;

6. A program in C # that input, data from the keyboard or outputs data to screen is done by

  • To stream file
  • stream file
  •  Studio file
  •   None of these
Answer
To stream file

7. Which language provides uses of free formation style?

  • Python
  • Vb.net
  •  C ++
  • None of thes
Answer
 C ++ 

8. The process of finding errors in a program is known as :

  • Debugging
  •  Test
  • Testing
  • None of these
Answer
Testing

9. A variable name in C ++ can be any valid identifier but the identifier must have a length of :

  • 31 characters
  •  30 characters
  • 15 characters
  • 10 characters
Answer
31 characters

10. The rules governing the construction of a valid statement in a language is called

  • Protocol
  • Syntax
  •  Both a and b
  • Semantics
Answer
Syntax

11. What are the characteristics of a good program?

  • Reliable
  • Pottable
  • User friendly
  •  All of these
Answer
All of these 

12. The process of correcting errors found during the testing process is called :

  • Debugging
  • Fixing
  •  Testing
  • Algorithm
Answer
Debugging 

13. Syntax error is called :

  •  Compilation error
  • Runtime error
  • Compile error
  • Both a and c
Answer
Both a and c

14. When program formatting is done to make a program more readable, it is called :

  • Post printing
  • Pretty printing
  • Proprinting
  •  None of these
Answer
Pretty printing 

15. The code which can handle exceptional data error and operational error is called :

  •  Protect code
  • Guard code
  • Grand code
  • Good code
Answer
Guard code 

16. When rules of a programming language are misused is known as :

  • Logical error
  • Syntax error
  • Semantics error
  •  None of these
Answer
Syntax error 

17. How many types of errors?

  • 5
  •  4
  • 3
  • 2
Answer
3

18. Error that occur during the execution of the program is known as :

  •  run – time error
  • Compile-time error
  • Logical Error
  • All of these
Answer
 run – time error 

19. The ability of a program to recover following an error and to continue operating within its environment is called

  • Robustness
  •  Guard code
  • Robustness
  • None of these
Answer
Robustness 

20. How many types of technical documents?

  •  10
  •  4
  •  3
  •  2
Answer
2

21. The logical sequence of precise steps that solve a given problem is called :

  • Algorithm
  • Protocol
  •  Design
  • None of these
Answer
Algorithm