0% found this document useful (0 votes)
16 views1 page

CH#8 (Half) CS-II

Uploaded by

Rameesha Mahmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

CH#8 (Half) CS-II

Uploaded by

Rameesha Mahmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

PROFESSORS’ ACADEMY FORT ABBAS

CHAPTER.5(half) NAME: _______________ DATE: August 9, 2024


COMPUTER SCIENCE-II VERSION-A TOTAL MARKS: 16
Choose correct answer: (4)
1.C is a : (A)High level language (B)Low level language (C)Assembly language (D)Machine language
2.The extension of c program file is: (A) .txt (B).obj (C) .exe (D) .c
3.C-language program are divided into units called : (A)Section (B)Syntax (C)Function (D)Debug
4.Void occupies how many bytes in memory: (A) Zero (B) One (C ) Two (D)Four
Write short answer: (2*4=8)
1. Why is the source code not executed directly? 2.What is a language translator?
3. What are header files? 4.What are preprocessor directives?
Write detail note: (4)
1. Describe characteristics of high level programming languages.

PROFESSORS’ ACADEMY FORT ABBAS


CHAPTER.5(half) NAME: _______________ DATE: August 9, 2024
COMPUTER SCIENCE-II VERSION-B TOTAL MARKS: 16
Choose correct answer: (4)
1.C language was developed in: (A)1968 (B)1970 (C)1972 (D)1975
2.Void occupies how many bytes in memory: (A) Zero (B) One (C ) Two (D)Four
3.The symbol used at the end of every C statement is : (A)Comma (B) Semicolon (C)Period (D)Full stop
4.The extension of c program file is: (A) .txt (B).obj (C) .exe (D) .c
Write short answer: (2*4=8)
1. What do you know about C-statements? 2.What is a compiler?
3. State the purpose of the preprocessor directive? 4.Differentiate between preprocessor directive and header files?
Write detail note: (4)
1. What is a computer language?Describe the types of programming languages in detail.

PROFESSORS’ ACADEMY FORT ABBAS


CHAPTER.5(half) NAME: _______________ DATE: August 9, 2024
COMPUTER SCIENCE-II VERSION-C TOTAL MARKS: 16
Choose correct answer: (4)
1.Errors in program are called: (A)Bacteria (B)Worm (C)Virus (D)Bugs
2.Which of the following is preprocessor directive : (A)void main() (B)getch() (C) #define pi 3.1416 (D) Clear
3.The extension of c program file is: (A) .txt (B).obj (C) .exe (D) .c
4.Void occupies how many bytes in memory: (A) Zero (B) One (C ) Two (D)Four
Write short answer: (2*4=8)
1. What is #include directive? 2.What is an assembler?.
3. Differentiate between assembly language and machine language? 4.What do you mean by delimiters?
Write detail note: (4)
1. Describe Ten differences between low-level language and high level language.

PROFESSORS’ ACADEMY FORT ABBAS


CHAPTER.5(half) NAME: _______________ DATE: August 9, 2024
COMPUTER SCIENCE-II VERSION-D TOTAL MARKS: 16
Choose correct answer: (4)
1.C language was derived from : (A)FORTRAN (B) Pascal (C) B (D)Assembly
2.Void occupies how many bytes in memory: (A) Zero (B) One (C ) Two (D)Four
3.The extension of c program file is: (A) .txt (B).obj (C) .exe (D) .c
4.C-language was developed by : (A)Dennis Ritchie (B)Ken Thompson (C) Bill gates (D) Mark Zuckerberg
Write short answer: (2*4=8)
1. What is #define directive? 2.What is the statement terminator?
3.What is the basic structure of C? 4.Define C programming language?
Write detail note: (4)
1. What is a language translator? Describe different types of language translator..

PROFESSORS’ ACADEMY FORT ABBAS


CHAPTER.5(half) NAME: _______________ DATE: August 9, 2024
COMPUTER SCIENCE-II VERSION-E TOTAL MARKS: 16
Choose correct answer: (4)
1.Preprocessor directives are : (A) Microprocessors (B)Language processors (C)Micro compiler (D)Loader
2.Void occupies how many bytes in memory: (A) Zero (B) One (C ) Two (D)Four
3.The extension of c program file is: (A) .txt (B).obj (C) .exe (D) .c
4.In C-language , main() is a: (A)Keyword (B)Preprocessor (C) Function (D) Expression
Write short answer: (2*4=8)
1. Give a brief history of C? 2.How interpreter works?.
3. What are the advantages of the C language? 4. Differentiate between structured and unstructured programming languages?

Write detail note: (4)


1. Write a detailed note on basic structure of C-program.

You might also like