You are on page 1of 6

MSBTE: PIC (22226)

V.IMP Questions
Branch: CO/IF/AIMIL

Q1. State symbols used to construct flowchart. Also state their functions

Q2.Draw a flowchart of Do-while loop and write a program to add numbers until user
enters zero.
Flowchart of Do-while loop:

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva
MSBTE: PIC (22226)
V.IMP Questions
Branch: CO/IF/AIMIL

Q3.Draw flowchart for nested if statement.

Q4.Draw flowchart for switch case

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva
MSBTE: PIC (22226)
V.IMP Questions
Branch: CO/IF/AIMIL

Q5.Draw a flowchart for do while loop in C

Q6.Draw a flowchart for addition of two numbers

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva
MSBTE: PIC (22226)
V.IMP Questions
Branch: CO/IF/AIMIL

Q7.Write an algorithm and draw a flowchart to find largest number


from three numbers.
Algorithm:
Step 1:Start
Step 2:Declare variables A,B,C
Step 3: Accept / Initialize values for variables no1,no2,no3
Step 4: If A>B and A>C then
display "A is largest"
otherwise check if B>A and B>C then
display "B is largest"
otherwise
display "C is largest"
Step 5: Stop
Flowchart

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva
MSBTE: PIC (22226)
V.IMP Questions
Branch: CO/IF/AIMIL

Q8.Draw a flowchart for checking whether given number is prime or


not.
ANS

Q9. Draw flowchart for checking whether given number is even or odd.
Ans:

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva
MSBTE: PIC (22226)
V.IMP Questions
Branch: CO/IF/AIMIL

Q10.Write algorithm and draw flow-chart to print even numbers


from 1 to 100.
Algorithm
1. Start
2. Initialize the variable i to 1.
3. while i<=100
4. if i%2==0
5. print the number
6. increment value of i
7. stop
Flowchart

Mob No. 9326050669 / 9372072139


Our Branches : Kalyan | Dombivali | Diva

You might also like