programming

posted by .

1.which of the following statements allows many branches or alternatives paths? A.IF-THEN; B.ON-GOTO; C. GOTO; D. all of the above.
2.The system command ---- is used to tell the computer to execute the program A.LIST B.EXECUTE C.END D.RUN

3. -----notation is used for representing very large numbers
A.S; B. D; C. C; D. E

4. The END statement has FUNCTIONS
A. one ; B. two C. three D.four.

5.Which the following can be use to separate variables to be printed with PRINT statement?
A. Semi-colon; B. colon ; C. PERIOD D.all of the above

  • programming -

    There are many different computer programming languages. It is important that you specify the language, because many of the commands are common to for example Visual Basic and Fortran (unlikely to be your case).

    If then allows only two branches, unless you put elseif. Select Case allows multiple branches, but is not on the list. On-Goto and Goto has only one branch.
    System is like you would run a command-line.
    Not sure about Q3 and Q4.

    Variables on the print list can be separated by a comma or a semi-colon.
    A colon marks the beginning of a comment.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. i need ur help in compiler construction

    Q: Given the following 3-address code 1: a = 1 2: b = 2 3: c = a + b 4: d = c - a 5: if( d < 20 ) goto 11 6: d = b * d 7: if( d > 20 ) goto 11 8: d = a + b 9: e = e + 1 10: goto 6 11: b = a + b 12: e = c - a 13: if( e < d …
  2. compiler construction

    Given the following 3-address code 1: a = 1 2: b = 2 3: c = a + b 4: d = c - a 5: if( d < 20 ) goto 11 6: d = b * d 7: if( d > 20 ) goto 11 8: d = a + b 9: e = e + 1 10: goto 6 11: b = a + b 12: e = c - a 13: if( e < d ) goto …
  3. Compiler Construction

    Given the following 3-address code 1: a = 1 2: b = 2 3: c = a + b 4: d = c - a 5: if( d < 20 ) goto 11 6: d = b * d 7: if( d > 20 ) goto 11 8: d = a + b 9: e = e + 1 10: goto 6 11: b = a + b 12: e = c - a 13: if( e < d ) goto …
  4. C++ Programming

    #include <iostream.h> #include <stdlib.h> #include <math.h> int main ( ) { double noe, nod, dc1, dc2, dc3, dc4, t; cout << "Enter number of eggs: "; cin >> noe; nod = noe / 12; dc1 = .50 / 12; dc2 = .45 …
  5. C++ Programming

    #include <iostream.h> #include <stdlib.h> #include <math.h> int main ( ) { double noe, nod, dc1, dc2, dc3, dc4, t; cout << "Enter number of eggs: "; cin >> noe; nod = noe / 12; dc1 = .50 / 12; dc2 = .45 …
  6. math

    28. Science and medicine. A computer can execute 36 instructions per microsecond. How many instructions can it execute in 4 min?
  7. math

    A computer can execute 36 instructions per microsecond. How many instructions can it execute in 4 min?
  8. basic math

    A computer can execute 36 instructions per microsecond. How many instructions can it execute in 4 min?
  9. MIPS Assembly programming

    Hi there, I need to implement in assembly mips an iterative binary search method. Here's my code: # this program implements binary search # the equivalent pseudo code is the following: # first = 0 # last = size -1 # while (last - first …
  10. programming in basic

    1 If four statements are entered with the same statement number, the computer will accept the ______ statement with the duplicate statement number first second third fourth 2 ______ is a valid BASIC number?

More Similar Questions