0% found this document useful (0 votes)
32 views3 pages

Computer Science

This document contains a home assignment on computer science for class 7. It includes 9 questions on logical operators, selection control structures like if-else statements, and flowcharts. Students are asked to identify logical operators, operator types, control structures from images, write C code for flowcharts, and find words related to control structures in a word search.

Uploaded by

ammusudhakar06
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)
32 views3 pages

Computer Science

This document contains a home assignment on computer science for class 7. It includes 9 questions on logical operators, selection control structures like if-else statements, and flowcharts. Students are asked to identify logical operators, operator types, control structures from images, write C code for flowcharts, and find words related to control structures in a word search.

Uploaded by

ammusudhakar06
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/ 3

D.A.V.

SCHOOL
(Affiliated to CBSE, New Delhi)
SREE NANDEESWARAR CAMPUS, ADAMBAKKAM, CHENNAI-88
CLASS : VII HOME ASSIGNMENT-2 SUB : COMPUTER SCIENCE
(2023-2024)

I. Guess the logical operators used in the boxes and write the truthtable in it.

Hint:

True
NAME:__________________
False

________________ ____________________ _____________

II. Guess the operators and write the purpose.

III. Find the type of operator and write the reason for the name

IV. Look at the pictures below and find the types of selection control structure.
V. Identify and write the control structure from the given image and justify.

1._______________________ 2.________________________ 3.__________________________

VI.Identify the type of statement and coding for the same.

1 2

3 4

VII. Write the equvalent C coding for the given flowchart using selection statement.
VIII. Convert the following C coding using Nested if statement.

#include <stdio.h>
void main()
{

int a;
printf(" Enter your age");
scanf("%d",&a);
if (a<18 )
printf("Student");
else if(a>=18&&a<=60 )
printf("Employee");
else
printf("Senior citizen”);
}
IX. Pick out the words related to control structure in the given word search. (Any 10)

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy