What statement can be used to code a pretest loop in C++?

A. switch
B. while
C. do
D. next


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements will print a single line containing "hello there"?

a. System.out.println( "hello" ); System.out.println( " there" ); b. System.out.println( "hello" , " there" ); c. System.out.println( "hello" ); System.out.print( " there" ); d. System.out.print( "hello" ); System.out.println( " there" );

Computer Science & Information Technology

Over the past two years a cloud service consumers have made 24,531 attempts to invoke a cloud service’s reporting capability. Of those attempts, 22,904 resulted in the successful execution of this capability. Based on these statistics, what is the reliability rating of the cloud service’s reporting capability?

What will be an ideal response?

Computer Science & Information Technology

When you create an array using the following statement, the element values are automatically initialized to 0.

``` int[][] matrix = new int[5][5]; ``` a. True b. False

Computer Science & Information Technology

Which of the following is the heart of animation in the Adobe Flash program?

A. The Timeline B. The Library C. The Keyframe D. Code Snippets

Computer Science & Information Technology