0% found this document useful (0 votes)
18 views

10 Computer Revision Test

Uploaded by

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

10 Computer Revision Test

Uploaded by

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

La Salle High School & College – Faisalabad

Revision Test 1
Subject: Computer Science Adm. #: ________
Max. Marks: 50 Class: 10 _____

• Choose the best answer. (10)


Statements A B C D
1. A software that facilitates
programmers in writing computer A compiler An editor An IDE A debugger
programs is known as:
2. Include statements are written in ___
Header Main Comments Print
section.
3. A float uses ___ bytes of memory. 3 4 5 6
4. Printf is used to print ___ type of data. Int Float Char All of them
5. Getch() is used to take ___ as input
Int Float Char All of them
from user.
Arithmetic,
6. A condition can be any ___expression. Arithmetic Relational Logical relational or
logical
Increment/
7. ___ part of for loop is executed first. Condition Body Initialization
decrement
8. Which operator has highest precedence
/ = > !
among the these:
Admin Server User Both A &
9. Functions could be built-in or ____.
defined defined defined C
10. ____ means to transfer the control to
Calling Defining Re-writing Including
another function

Give short answers to the following. (10x2=20)

1. Describe the function of compiler


2. Is loop a data structure? Justify your answer.
3. What is variable?
4. What is syntax?
5. What is format specifier?
6. Identify the errors: int a[ ] = ({2}, {3}, {4});
7. Define built-in functions.
8. Enlist the parts of a function definition.
9. Define modulus operator.
10. How can you initialize and declare a variable?

Attempt the following. (2x10=20)


1. Write the steps to create C program.
2. What are escape sequences? Why do we need them?

You might also like