12/16/17

Programming Q/Ans

What is control structure?

A control structure is a block of programming that analyzes variables and chooses a direction in which to go based on given parameters.

What is loop ?

A loop is a sequence of statement that is executed repeatedly until the given condition is satisfied.

What is section structure?

The structure in which the execution of next statement of a program depends upon the result of a condition is known as Decision or Selection structure. The statements used in this structure are: IF .. THEN, IF .. THEN .. ELSE, IF .. THEN ELSEIF … ELSE, SELECT .. CASE statement.

What is loop structure?

The structure which is used to execute a group of statements a certain number of times depending upon the condition is called loop structure. The statement used in this structure are; FOR..NEXT, DO..LOOP, WHILE..WEND etc.

What is c language?

C is the high level programming language that was developed by Dennis Ritchie at Bell Telephone Laboratories in 1972.

What is file handling?

The way of handling file is known as File Processing. In QBASIC you can save the data into a separate file called a data file. So there are two types of files in QBASIC. They are Program file and Data file

What is modular programming?

The programming technique, in which a program is divided into small logical and manageable part, is known as modular programming. The small, logical and manageable part of the program is called procedure (module). Since the modular programming uses small block of functional codes, it is also called structured program.

What is library function in QBSIC?


A function in QBASIC is a readymade program or user made small program which helps us to perform a specific task. The function manipulates the data passes to it and returns either a string value or a numeric value.  QBASIC supports two different kinds of functions are User 


What is difference between entry control loop & exit control loop ?The difference between Entry control loop and Exit control loop are as follows:

Entry Control Loop
  • In Entry controlled loop the test condition is checked first then executes the body loop
  • It checks the conditions first.

Exit control loop

  • In exit control loop the body of the loop will be executed first then checks the test condition.
  • It checks the condition at last.

No comments:

Post a Comment

THANK YOU FOR SUGGEST