Menu

[Solved]-Question 1 Array Passed One Scope Another Scope Name B Reference C Elements D Value Questi Q37224215

Question 1
This is how an array is passed from one scope to anotherscope.
A)by name
B)by reference
C)by elements
D)by value
Question 2
The number of elements within an array can be changed as theprogram runs.

True
False

Question 3
Why do we prototype functions

A)For documentation purposes
B)So that we can write them below MAIN and not have an error duringcompile time
C)That is how functions are declared
D)Because if you write the functions before Main the code will notrun.

Question 4
This is a pretest loop

A)continue
B)do
C)goto
D)while

Question 5
This checks for Syntax Errors

A)desk-checker
B)COMPILER
C)Binary file
D)run-time editor

Question 6
This is an English like version of your program. This code does notget complied nor does it follow the rules of syntax.

A)IPO Chart
B)Pseudocode
C)Flow Chart
D)Structure Chart

Question 7
This statement is found at the beginning of a C program to link tothe necessary *.h files.

A)#define
B)#stdlib
C)#include
D)#link

Question 8
These are used to make your code easier to understand. These areskipped by the compiler. These should be found in many placeswithin your code.

A)Loops
B)Comments
C)Sections
D)Functions

Question 9
printScan() is a function that we used during this class to senddata to the screen (to print on console window)..

True
False

Question 10
In C this is used to read data from the keyboard

A)cin
B)fread
C)scanf
D)scanner

Question 11

If this were a part of your code

x++;

x–;

what is the value of x after the second line?

A)1 more than what it was before the code
B)No way of answering this question
C)2
D)The value of x would be the same as it was before these two linesof code executed.

question 12
This is used to divide and conquer. These are written to solve asingle problem. These will return nothing or a single value.

A)Method
B)Pseudocode
C)Script
D)Function

Question 13
This is the data type (in place of the data type) assigned to afunction that returns nothing

A)none
B)empty
C)leave it blank
D)void

Question 14
This uses a condition and has an optional else clause.

A)break

B)loop

C)switch

D)if

Question 15
Post Test loop

A)repeat
B)goto
C)while
D)do {

}while

question 16
Find the camel case

A)tHISiScAMELcASE
B)NoNoThisISCamelCase
C)ThisIsCamelCase
D)thisIsCamelCase

question 17
what would be the value of x after the following lines of code

int x=2, y=3, z=2;

x = (x + (z * y) / z);

A)6
B)4
C)5
D)6.33

Expert Answer


Answer to Question 1 This is how an array is passed from one scope to another scope. A)by name B)by reference C)by elements D)by v… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *