post

11th (ਕੰਪਿਊਟਰ ਸਾਇੰਸ/Computer Science) - 2026-27

ਪਾਠ-7/Chapter-7
ਸੀ ਭਾਸ਼ਾ ਨਾਲ ਜਾਣ-ਪਹਿਚਾਣ ਅਤੇ ਇਸ ਦੇ ਪ੍ਰੋਗਰਾਮਾਂ ਦੀ ਮੁਢਲੀ ਬਣਤਰ/Introduction to C and Basic Structure of C Program





Q-1.
...
C is a ................... purpose programming language.
Q-1. Objective  

1) Special/Special
2) General/General
3) Objective/Objective
4) None of these/None of these

Ans.) General/General

Q-2.
...
Which of the following is valid example of identifier?
Q-2. Objective  

1) roll_no/roll_no
2) %age_marks/%age_marks
3) rollno/rollno
4) main/main

Ans.) %age_marks/%age_marks

Q-3.
...
Which of the following are the tokens?
Q-3. Objective  

1) keywords/keywords
2) special symbols/special symbols
3) Literals/Literals
4) All of these/All of these

Ans.) All of these/All of these

Q-4.
...
Which of the following keywords do not represent a data type ?
Q-4. Objective  

1) int/int
2) float/float
3) const/const
4) char/char

Ans.) const/const

Q-5.
...
........... are used to describe a code in the program?
Q-5. Objective  

1) Compiler/Compiler
2) Comments/Comments
3) Literals/Literals
4) Identifiers/Identifiers

Ans.) Comments/Comments

Q-6.
...
.............. are the smallest individual units of a program.
Q-1. Fill in the Blanks  

1) Token/Token
2) Variables/Variables
3) None/None
4) None/None

Ans.) Token/Token

Q-7.
...
The names given to program elements, such as variables, constants, arrays, functions etc is called..........
Q-2. Fill in the Blanks  

1) Token/Token
2) Identifier/Identifier
3) None/None
4) None/None

Ans.) Identifier/Identifier

Q-8.
...
Those program elements which do not allow changing their value during execution are called............
Q-3. Fill in the Blanks  

1) Variables/Variables
2) Constant/Constant
3) None/None
4) None/None

Ans.) Constant/Constant

Q-9.
...
To work with single precision values we use ............ data types.
Q-4. Fill in the Blanks  

1) float/float
2) int /int
3) None/None
4) None/None

Ans.) float/float

Q-10.
...
File extension of header file is ................
Q-5. Fill in the Blanks  

1) .h/.h
2) .header/.header
3) None/None
4) None/None

Ans.) .h/.h

Q-11.
FORTRAN
FORTRAN
Q-1. Abbreviation  

1) Formula Translation/Formula Translation
2) Fortran Translation/Fortran Translation
3) Formula Transmission/Formula Transmission
4) Formula Transfer/Formula Transfer

Ans.) Formula Translation/Formula Translation

Q-12.
BCPL
BCPL
Q-2. Abbreviation  

1) Basic Combined Play Language/Basic Combined Play Language
2) Basic Combined Programming Language/Basic Combined Programming Language
3) Basic Common Programming Language/Basic Common Programming Language
4) Basic Combined Plug Language/Basic Combined Plug Language

Ans.) Basic Combined Programming Language/Basic Combined Programming Language

Q-13.
IDE
IDE
Q-3. Abbreviation  

1) Integrated Develop Environment/Integrated Develop Environment
2) Internet Development Environment/Internet Development Environment
3) Information Development Environment/Information Development Environment
4) Integrated Development Environment/Integrated Development Environment

Ans.) Integrated Development Environment/Integrated Development Environment

Q-14.
stdio.h
stdio.h
Q-4. Abbreviation  

1) Simple Input Output Header File/Simple Input Output Header File
2) Standard Input Output Header File/Standard Input Output Header File
3) Standard Input Output High File/Standard Input Output High File
4) Standard Input Output Header Folder/Standard Input Output Header Folder

Ans.) Standard Input Output Header File/Standard Input Output Header File

Q-15.
conio.h
conio.h
Q-5. Abbreviation  

1) Console Input Output Header Folder/Console Input Output Header Folder
2) Command Input Output Header File/Command Input Output Header File
3) Console Input Output High File/Console Input Output High File
4) Console Input Output Header File/Console Input Output Header File

Ans.) Console Input Output Header File/Console Input Output Header File

Q-16.
ASCII
ASCII
Q-6. Abbreviation  

1) American Standard Code for Information Internet/American Standard Code for Information Internet
2) American Standard Common for Information Interchange/American Standard Common for Information Interchange
3) American Standard Code for Information Interchange/American Standard Code for Information Interchange
4) American Standard Code for Interchange Information/American Standard Code for Internchange Information

Ans.) American Standard Code for Information Interchange/American Standard Code for Information Interchange