0% found this document useful (0 votes)
1K views3 pages

Cs 201 Long Quiz 2

Loops allow repeating a sequence of statements through iteration. There are three components to a loop - the condition, body, and increment/decrement. The condition is evaluated before each iteration to determine whether the body should execute again. Variables can be local or global in scope. Programming fundamentals are taught through interactive development environments and source control allows managing code versions.

Uploaded by

OSA OFF2VA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views3 pages

Cs 201 Long Quiz 2

Loops allow repeating a sequence of statements through iteration. There are three components to a loop - the condition, body, and increment/decrement. The condition is evaluated before each iteration to determine whether the body should execute again. Variables can be local or global in scope. Programming fundamentals are taught through interactive development environments and source control allows managing code versions.

Uploaded by

OSA OFF2VA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

A series of statement repeated when a specific condition is met is called looping.

ans: True

The looping statement in C++ where the condition appears on the last part of the
statement is called ________________ loop.
ans: do-while

Explicit Data Types are also called Variants.


ans: False

One cycle of repetition using loops is called an iteration.


ans: True

Local variables are accessible throughout the code.


ans: False

There are three (3) components that build up the phases of looping statements.
ans: False

Visual Studio Code is an IDE that supports multiple programming languages under
multitude of operating systems.
ans: True

_______________ is the phase in looping statements that are evaluated.


ans: Condition

The phase in looping that indicates the statements under the loop is called
_________.
ans: Body

__________________ is a looping statement where the body is executed first before


the condition is evaluated.
ans: do-while

The ____________ looping statement evaluates the condition before executing the
body and the increment/decrement.
ans: while

A statement wherein the increment/decrement always occurs after the statements of


the body is called ________ statement.
ans: for

The _________________ phase decreases the value of the counter.


ans: Decrement

Variables defined within a code block is called ____________ variables.


ans: Local

Anonymous Variables are labeled by the _____________.


ans: Computer

A conditional is used to perform specific actions depending on the evaluated


expressions.
ans: True

A ______ statement ends the execution of the entire loop.


ans: break

Conditions within a while loop are evaluated after the execution.


ans: False

A way to organize configurations is called Repository.


ans: True

The ________________________ tool enables better code management through backups


and source control.
ans: Integrated Development Environment

Fundamentals of computer programming are learned easily through the use of GUI.
ans: True

These variables that may not declare their data types are called ____________ Data
Types.
ans: Implicit

Converting a data type to another data type is called ___________.


ans: Casting

The ________ statement mainly uses integers as value to be evaluated.


ans: switch

Implicit Data Types can store _____ type of values.


ans: Any

A group of related statements are called code blocks.


ans: True

The open source community of Microsoft to share software publicly is called


________________.
ans: GitHub

Compilers build the application from source codes.


ans: True

Values are limited by their data types.


ans: True

There is only one data type that can handle textual values.
ans: True

We use ___________________ to test the system path if defined.


ans: Command Prompt

Classes are part of ____________________ Data Types.


ans: Referenced

The most efficient data type to use for flags like gender is _________________.
ans: Boolean

The compiler that presents a minimalistic approach for Windows is called


_________________.
ans: MinGW

Version Control allows users to revert changes and download copies of the changes
from the client.
ans: True

The ________ rights allow users to escalate the permission granted.


ans: Administrator

The phase in loops where the counter is changed is called Variation.


ans: False

Unnamed variables are called Anonymous Variables.


ans: True

Iteration is the special variable that controls the flow of loops.


ans: False

___________ enabled developers to repeat a sequence of statements given the right


conditions.
ans: Loops

The newly developed IDE from Microsoft that supports various programming languages
and acts as a subset of Visual Studio is called ________________.
ans: Visual Studio Code

__________ statement is used in undefined conditional expressions.


ans: Else

The free and web-based repository that allows distributed version control is called
GitOpen.
ans: False

Explicit Data Types are also called Variants.


ans: False

________ statement is used to output a string to inform the user about the
conditions need.
ans: Cout

The ____________ statement uses defined constants in evaluating conditions.


ans: Switch

Global variables are variables declared _____________ int main() code block.
ans: Outside

Unnamed variables are accessible using the unmarked symbol.


ans: False

The only data type that can store large values until 65,535 is _________________
_______.
ans: Unsigned Short

______________ variables are bound to only one type of values.


ans: Explicit

You might also like