Advertisement

INTRODUCTION TO C PROGRAMMING.

Fill in the blanks:
(1)C is a High level language.
(2)A C program must be compile before it can be executed.
(3) A named area in memory that stores a character or numeric value is called Variable.
(4) In C, a number containing a decimal point of type float.
(5) The memory size of a floating point number is usually 4 bytes.
(6)The equality checking operator in C is ==.
(7) “%C is the standard function to read a single character from keyboard.


2. State whether the following statements are true or false.
(1) C is a interpreted language.False.
(2) In C , an user must define the meaning of keyword used.False.
(3) The type of variable determines what kind of values it may take on.True.
(4) A variable name can be begin with underscore.False.
(5) A variable declaration tells the name and type of a variable.False.
(6) “34.5” is a numeric constant. False.
(7) The keyword int is used to declare a constant.False.
(8) The expression 4+5*6 will evaluate to 54.False.
(9) The expression 4 ^ 2 to find the square of 4 is valid in C. False.
(10) The standard C functions are grouped into header files. True.
(11) The standard C function to find  the absolute value of a number x is abs(x).False.
(12) The format specifier for an integer in a printf statement in C is \n. False
(13)Explanatory comments in C are given with the REM keyword.False



3. Give the purpose of each of the following in a C program.
(1) float : float is a data type to store a floating point number. E.g. : 3.14
(2) char : char is a data type to store a character. E.g. : ‘a’
(3) getchar( ) : The function input a simple character from the keyboard.
(4) scanf :  The function performs formatted input.  E.g. scanf(“%d”, & a);
(5) stdio.h : stdio.h is a header file which predefined standard input and output function.
(6) math.h : math.h is a header file which predefined mathematical function
(7) \t : It is an escape sequence which is used in print.


4. Answer the following questions in one or two sentences each:
(1) What are the primary data types in C?
Ans..int (integer), char (Character), float (floating point number) and double are the primary data type in C.
(2)What is a numeric constant?
Ans.. Numeric constant is a number. E.g. 2,3.142.
(3)What does the modulus operator do in c.
Ans. Modulus operator returns the mode of a division. E.g. 4 % 3 = 1.
(4)What is the deference between the operators =  and ==?
Ans.= is a assignment operator eg. a=2.== is evaluating 2 numbers to find out the big one .
(5)What is a header file?
Ans. Header file is a predefined function which can be used in our program.
(6)State the parts of a C program?
Ans. Heading, inclusion, function main( ) with statements and optional user defined functions.
(7)What is the purpose of the inclusion statements in a C program??
Ans.To include predefined user function to user program.


5. Write the C expression for.
(1)raising 2 to the power 5:pow(2,5);
(2)a3- 7b +1.:pow(a,3)- (7*b)+1
(3)(5(f-32))/9: (5 * (f-32))/9


6. Identify the valid variable name in C: m, N, 7N,-avg, %d.
Ans. m, N.


7. The following statement block in C is supposed to calculate (a+b)3, but there are errors. Find out the errors and rewrite the statement block.
int a ==5, b=6,ans
ans=(a+b)^3;
printf(The answer is, ans);
Ans. int a=5,b=6,ans;
ans=(a+b) * 3;

printf(“The answer is %d “, ans);

Worksheets

UKG Worksheets 

English 

Handwriting practice sheets

Cursive Writing – Small Letters

Alphabet Tracing

Tracing

Trace the Path

Positions

Sizes

​​Classroom Alphabets

Center Signs

Mother's Day

Father's Day

Circle The Shape

A TO Z WORKSHEET

A TO Z SMALL LETTERS

CVC Words Building

Write the First Letter of Given Picture

Circle the Correct Letter Worksheets

Circle the Cursive Letter Worksheets

Match the Letter with Correct Picture

Match the Picture with Cursive Letter

Circle two pictures that begin with same letter sound

Circle two pictures that begin with same letter sound (Cursive)

CVC Worksheets Letter ‘a’

CVC Worksheets Letter ‘e’

CVC Worksheets Letter ‘i’

CVC Worksheets Letter ‘o’

CVC Worksheets Letter ‘u’

Look and write with vowels a, e, i, o, u

Opposite Words

2 Letter words - sight words

Science.

Science

Geography.

Geography

Weather

Calendar

Mathematics.

Trace Numbers 1 to 10

Measuring Things

Additional Worksheet.

Additional Worksheet.

Additional Worksheet

Subtraction Worksheets

Same, Less, More

Count and Write Worksheets

Count and Match Worksheets

Count and Circle Worksheets

Fill in the Missing Number Worksheets

What Comes After & Between

Write Missing Numbers

Shape worksheets

Backward counting

Trace the numbers 1-10

Multiplication Sheet practice for Children

Counting practice from 1 to 100 Worksheet

Miscellaneous in Maths

Hindi

Hindi Alphabets. (Swar)

Hindi Alphabets. (Vanjan)

Colours name in Hindi | रंगों के नाम

Fruits name in Hindi | फलों के नाम

Vegetables name in Hindi | सब्जियों के नाम

Days in Hindi

Parts of Body

Hindi Swar Tracing Worksheets

Hindi Vyanjan Tracing Worksheets

Write the First Letter of picture - Hindi Swar Worksheets

Look and Match - Hindi Swar Worksheets

Circle the correct letter - Hindi Swar Worksheets

Write the first letter - Hindi Vyanjan Worksheets

Circle the Correct Letter - Vyanjan Worksheets

Choose the Right Image - Vyanjan Worksheets

Miscellaneous Hindi Worksheets

2 Letter Words Hindi Worksheets

3 Letter Words Hindi Worksheets

4 Letter Words Hindi Worksheets

AA (ा) – AA ki Matra | आ (ा) की मात्रा

i ( ि) - i ki Matra | इ ( ि) की मात्रा

EE ( ी) – EE ki Matra | ई ( ी) की मात्रा

U (ु) - U ki Matra | उ (ु) की मात्रा

O (ू ) – OO ki Matra | ऊ (ू) की मात्रा

E ( े) - E ki Matra | ए ( े ) की मात्रा

AI (ै) - AI ki Matra | ऐ (ै)की मात्रा

o ( ो) - o ki Matra | ओ (ो) की मात्रा

ou ( ौ) - ou ki Matra | औ ( ौ) की मात्रा

General Knowledge.

GK Worksheets

Preschool Assessment

Nursery GK Worksheet

Creative Worksheets

Social Skills

Feelings

People at Work

Finger Puppets

Shapes

Good Or Bad

Things That Go Together

Things That Do Not Belong

Match the following.

Match the fruit to its shadow. [5 Pages]

Match Letters [35 Pages]

Matching Worksheets

Sorting Worksheet

Shadow Matching

Match the uppercase letter to its lowercase [6 Pages]

Circle 2 Matching Pictures

Games.

Cut and Paste

Matching Cards

Puzzles and Mazes

Spot the Differences

Freak - Out !!!

Freak - Out !!! 

Sudoku

Cut and Glue

This Week

Literature.

Nursery Rhymes

Cursive Alphabet Trace and Write

Letters A to G Upper and Lower Case Tracing Worksheet

Beginning Sounds. Kindergarten Worksheet

Cursive Writing Small Letters.

Capital Letters.

Small Letters.

Alphabet Trace.

Alphabet Trace and Write.

Alphabet Worksheet 

Consonant Vowel Consonant (CVC) Flashcards

Story PDF.

White Magic Story

Sunshine and Reeva in China

Two Cats and Clever Monkey

The Lion and the Rabbit

The Lion and the Mouse

Reading Passages.

Reading Passages for Kids 

Coloring.

Coloring for Fun

100 Bracelets

Dot to Dot

Color Cute Dinosaurs

Color Cute Animals

Alphabet Coloring.

Coloring Images

Colors

Drawing

Circle the Color

English Alphabet Color it. 

English Alphabet Color it and Match it with Pictures

Alphabet Color it. [26 Pages]

Alphabet Color it 2. [7 Pages]

English Alphabet Color it. 2 

Numbers PDF.

Numbers 1 to 10 Color it. [2 Pages]

1 to 10 Numbers Coloring. [4 Pages]

Flash Cards PDF.

Tell the Time Flash Cards [6 Pages]

​​Reward Cards

Posters

Animal Flashcards

Name Cards

Happy Birthday

Flashcards English vocabulary [12 Pages]

Alphabet Letters with Pictures [5 Pages]

Numbers Flash Cards. [5 Pages]

Shapes FlashCards. [4 Pages]

Colors FlashCards. [3 Pages]

English Alphabet Learning Flash Cards. [26 Pages]

Alphabet Flashcards. [26 Pages]

Alphabet Identification Flash Cards. [26 Pages]

….

11,000+ Printable Activity Worksheets Bundle

FREE With Lifetime Access: 

https://www.omtexclasses.com/p/printable-pdf-worksheets-for-kids.html

11000+ Preschool + Kindergarten Printable Activity Worksheets

These are printable pdf files. We do not sell hard copies. 

Inside 11,000+ Bundle You Will Get :

Countless coloring page

Alphabet tracing sheets

Math worksheets

Shape recognition exercises

Animal-themed activities

Scissor cutting practice

Flash Cards

Seasonal and holiday printable

And so much more!

Is it a digital product or Physical Product ?

11000+ Printable Activity Worksheets PDF is a digital product which you can instantly access for free of cost, and print whenever you wish.

We are always happy to see our products helping you to accomplish your goals. 

.