2nd Year Computer Chapter 8 Notes
Important full 2nd Year Computer Chapter 8 Notes written by Professor Mr. Tayyab Shahzad. These notes are very helpful in the preparation of 2nd year computer chapter 8 important questions of 2nd year Computer Science for the students of the intermediate and these are according to the paper patterns of all Punjab boards.
Summary and Contents:
Topics which are discussed in the notes are given below:
- Important Multiple Choice Questions of 2nd year computer chapter 8 mcqs of 2nd-year Computer Science.
- Q1: C - Language was developed in: (a) 1962 (b) 1969 (c) 1970 (d) 1972
- Q2: A well-defined set of instructions or statements given to the computer is called: (a) Hardware (b) Software (c) Bug (d) Error
- Q3: C was designed to write program for: (a) Windows operating system (b) Unix operating system (c) Solaris operating system (d) S/2 operating system
- Q4: C is a: (a) High-level language (b) Assembly language (c) Low level language (d) Machine language
- Q5: The computer program is normally written in: (a) English language (b) Programming language (c) Both A & B (d) Electrical language
- Important 2nd year computer chapter 8 mcqs with answers for Intermediate part-II students.
- Q6: The target code produced by the compiler is called: (a) Object code (b) Source code (c) Source code (d) Linked code
- Q7: The programmer usually enters source code or program into a computer using: (a) Compiler (b) Text editor (c) Debugger (d) Linker
- Q8: Which of the following key is used to save a file? (a) F2 (b) F3 (c) F4 (d) F9
- Q9: Which of the following does not contain machine language code?
- (a) Source code (b) Object code (c) Library code (d) Binary code
- Q10: The " exe " file is produced by: (a) Linker (b) Loader (c) Compiler (d) Interpreter
- Q11: The processing of running an executable file is known as: (a) Dubagging (b) Compiling (c) Executing (d) Saving
- Important 2nd year computer chapter 8 important mcqs for Intermediate part-II students.
- Q12: The statements written by the programmer or developer are called:
- (a) Source code (b) Object code (c) Syntax (d) None of these
- Q13: Which of the following key is used to compile a program?
- (a) Alt + F9 (b) Ctrl + F9 (c) Ctrl + S (d) Alt + F5
- Q14: An IDE typically consists of: (a) Text editor (b) Compiler (c) Debugger (d) All of these
- Q15: Which part of the compiler handles the preprocessor directives?
- (a) Supervisor (b) Shell (c) Processor (d) Preprocessor
- Q16: The extension of header file is: (a) .c (b) .txt (c) .hf (d) .h
- Important 2nd year computer chapter 8 short questions for Intermediate part-II students.
- What is a computer program?: Ans: The set of instructions given to the computer to solve a specific problem is called
computer program. Computer can solve problems with the help of computer program.
Computer programs are written in programming languages.
- What is a programming language?
- List different types of programming languages.
- Important 2nd year computer chapter 8 important long questions for Intermediate part-II students.
- What is high-level language?
- What is low-level language?
- What is machine language?
- What is assembly language?
- What is a source program?
- What is an object program?
- What is a language translator?
- What is a compiler?
- What is an interpreter?
- What is an assembler?
- Important 2nd year computer chapter 8 long questions for Intermediate part-II students.
- What is a structured programming language?
- What is an unstructured programming language?
- What is a preprocessor?
- What is a preprocessor directive?
- What is the work of include directive?
- What is the work of define directive?
- What is a statement terminator?
- What are delimiters?
- What is the main function?
- What are bugs and debugging?
- What is meant by creating a program?
- What is meant by editing a program?
- What is meant by compiling a program?
- What is meant by linking a program?
- What is meant by executing a program?
- List names of some high-level languages.
- What is Turbo C++?
- What are the necessary steps to prepare a C program?
- What are header files?
- What is C statement?
- What are syntax errors?
- What are logical errors?
- What are runtime errors?
- What is ANSI C?
- List any four advantages of C language.
- What is meant by machine independence?
- Important 2nd year computer chapter 8 long questions pdf download for Intermediate part-II students.
- What is the difference between a compiler and an interpreter? : Ans: Software that converts a high level language program into machine language is called
compiler. Every language has its own compiler. Compiler detects and tells about errors is
programs. When high level language program is error free compiler converts it into
machine language. So compiler is software that converts a source program into object
program as a whole. Object code is used for execution.