ask
mattrab
Old is Gold
Class Twelve
Back
Physics
Chemistry
Biology
Maths
Computer
English
Nepali
Economics
Account
Trivia
Philosopy
Social
Class Eleven
Back
Physics
Chemistry
Biology
Maths
Computer
English
Nepali
Economics
Account
Trivia
Philosopy
Social
Class Ten
Back
Science
Social
Eph
Maths
Computer
English
Nepali
Account
Economics
Opt math
Class Nine
Back
Science
Social
Eph
Maths
Computer
English
Nepali
Account
Economics
Opt math
Close Menu
Entrance
PLUS TWO Entrance
Back
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Practice Set Seven
IOE Entrance
Back
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Practice Set Seven
IOM Entrance
Back
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Practice Set Seven
BSC CSIT Entrance
Back
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Practice Set Seven
CMAT Entrance
Back
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Practice Set Seven
CAMBRIDGE Entrance
Back
Practice Set Thirty Three
Practice Set One
Practice Set Two
Practice Set Three
Practice Set Four
Practice Set Five
Practice Set Six
Close Menu
USA Guide
Introduction
Application
Todo in high school
Opportunity fund
Building application
Eca opportunities
English proficiency tests
Sat resources
Scholarships hunt
Visa process
Visa interview day
Prepare to fly
Gap year
Success stories
Know colleges
News
Close Menu
Let's MCQ
More
New Question
Close Menu
Log in with Google
or
Log in with email
Sign up with email
Networking and Telecommunication
Internet and its Services
Ethical and Social Issues in ICT
Computer Security
Electronic Commerce
Contemporarary Technology
Number System
Microsoft Access
Review of Control Statement
Review of Library Functions in QBASIC
Modular Programming
File Handling
Structure Programming-C Language
Pastpapers
Close Menu
38 Computer -- Review of Control Statement
What is nested loop?
What is nested loop?
0
Happy
Submit Answer
0
Answers
482
Views
More questions on Review of Control Statement
Rabin Kalikote
3. Write the output of the following programs.a.CLSN=7FOR P= 1 TO 5PRINT NIf N MOD 2 =0 THENN=N/2ELSEN=N*3+1END IFNEXT PENDb)CLSN = 9DOIF N MOD 2 =1 THEN PRINT NN = N - 1LOOP WHILE N >= 3END
Output:
7
22
11
34
17
Output:
9
7
5
3
Prabin Kalikote
What do you mean by flow of program?
Prabin Kalikote
What is control structure?
Prabin Kalikote
What is a looping statement? List the looping statements that are used in QBASIC.
Prabin Kalikote
What is a loop?
Prabin Kalikote
What is outer loop and inner loop?
Prabin Kalikote
Write a program that accepts three numbers and displays the smallest number.
Prabin Kalikote
Write a program that accepts the length of three different rods and displays whether a triangle can be formed or not by using the rods. [Hint: A triangle can be formed if the sum of two sides is gr...
Close
Open App