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

10th Class Computer Science Test: C Programming

This document outlines a test for 10th class computer science focused on Chapter 1, with a total of 25 marks. It includes multiple-choice questions, short answer questions, and a detailed question about the structure of a C program. The test assesses knowledge on topics such as text editors, programming languages, reserved words, and the role of compilers.

Uploaded by

kelekej734
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)
10 views1 page

10th Class Computer Science Test: C Programming

This document outlines a test for 10th class computer science focused on Chapter 1, with a total of 25 marks. It includes multiple-choice questions, short answer questions, and a detailed question about the structure of a C program. The test assesses knowledge on topics such as text editors, programming languages, reserved words, and the role of compilers.

Uploaded by

kelekej734
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

10th Class Computer science Test Chapter 1

Max Marks: 25

Q No.1 Choose the best option. /5

1 A text editor is a software that Debug code Compile Write and edit Run
allows programmers to: program computer executable
programs files

2 The set of rules for writing an Logic Algorithm syntax Reserve


accurate program in a words
programming language is
known as its:

3
Which of the following is a program return create pack
reserved word in C language, as
listed in the provided text?

4 The printf() function is used User input User Declaring a Defining a


for: output variable function

5 Which of the following is NOT C++ python Java HTML


an example of a programming
language mentioned in the text?

Q No 2
Write short answers to the following questions. 2 x 5 = 10

1. What are header files and why are they included in a program?
2. What are the three main parts of a C program's structure?
3. What are reserved words (or keywords), and why must a programmer not redefine
them?
4. What is the role of a compiler, and when does a syntax error occur?
5. What tools are included in a programming environment?

Q No 3.
Answer the following question in detail. /10

1. Explain the structure of the C program in detail with examples.

You might also like