wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Assignment 1 - Introduction to C

Total questions: 20

Worksheet time: 16mins

Name
Class
Date
1.

It is a way to “instruct the computer to perform various tasks”.

a)

Programming

b)

Program

c)

C Language

d)

Turbo C

2.

Are lines included in a program that begin with the character #

a)

Directives

b)

Processor

c)

Preprocessor directives

d)

Hash Tag

3.

A variables hold their values throughout the lifetime of your program and they can be accessed inside any of the functions defined for the program.

a)

Global

b)

Public

c)

Private

d)

Null

4.

It is variable is available for use throughout your entire program after its declaration.

a)

Global Variable

b)

Public Variable

c)

Private Variable

d)

Int Main ()

5.

Is a skilled professional who codes, tests, debugs, and maintains the comprehensive instructions known as computer programs that devices should follow to execute their functions

a)

Programmer

b)

Hacker

c)

Program

d)

Execution

6.

It allow us to name data and other objects in the program.

a)

Identification

b)

Character

c)

Identifier

d)

Integer

7.

Rule of Identifier: The First character must be alphabetic character or _

(a)  

8.

Rules of identifier: It Cannot duplicate a _

(a)  

9.

C is a case (a)   language.

10.

It defines a set of values and a set of operations that can be applied on those values.

a)

Type

b)

Set

c)

Algorithm

d)

Functions

11.

It is a set of step-by-step instructions that directs the computer to do the tasks you want it to do and produce the results you want.

a)

System

b)

Program

c)

Syntax

d)

Algorithm

12.

It refers to any undesirable situation.

a)

Statement

b)

Error

c)

Solution

d)

Problem

13.

A sequence of steps or strategy for solving the problem

a)

Flowchart

b)

Algorithm

c)

Solution

d)

Program

14.

It is a graphical representation of a sequence of operations where a computer is to perform

a)

Pseudo Code

b)

Terminal

c)

Connectors

d)

Flowchart

15.

It is an artificial and informal language that helps programmers develop algorithms.

a)

Pseudo Code

b)

Flowchart

c)

Algorithm

d)

Procedure

16.

Are statements that have no effect on a program, they are simply used to make a program easy to understand

a)

Flowchart

b)

Comments

c)

Algorithm

d)

Code

17.

It is the transformation from Source Code (human readable) into machine code (computer executable)

a)

Compiling

b)

Debugging

c)

Encoding

d)

Programming

18.

A logical step-by-step process for solving a problem is called

a)

Binary Numbers

b)

Coding

c)

Algorithms

19.

A diagram that represents a set of instructions is called:

a)

Flow Chart

b)

Pseudocode

c)

Shapes

20.

A simple way of describing a set of instructions that does not have to use specific syntax is called:

a)

Flow Chart

b)

Pseudocode

c)

Shapes