0% found this document useful (0 votes)
256 views56 pages

CP 1

The document contains a series of multiple choice questions about computers, programming, and software development. The questions cover topics such as computer components, operating systems, programming languages, software development tools and methodologies, variables and data types, conditional statements, and integrated development environments.

Uploaded by

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

CP 1

The document contains a series of multiple choice questions about computers, programming, and software development. The questions cover topics such as computer components, operating systems, programming languages, software development tools and methodologies, variables and data types, conditional statements, and integrated development environments.

Uploaded by

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

Which one was not made possible because of Computers?

Select one:
a. Lasers
b. Telephone
c. Modern Automobiles

d. Electricity
Check

What domain deals with both software and hardware configurations?


Select one:
a. API Development
b. Embedded System Development
c. Back-end Development

d. Application Development
Check

What domain deals with server configurations and setups?


Select one:
a. Application Development
b. Embedded System Development
c. Back-end Development

d. API Development
Check

What are the tangible components of Computers?


Select one:
a. Development Tool Kits
b. Hardware
c. Operating System

d. Software
Check

Question 5
Correct
Mark 1.00 out of 1.00
Flag question

Question text

What do you call a device where an application was made to run into?
Select one:
a. Embedded System
b. Platform
c. Operating System

d. Smart device
Check

What is the scripting language used in Linux Operating Systems?


Select one:
a. Python
b. C++
c. Shell

d. Java
Check

Which is not attributable to Computers?


Select one:
a. Agriculture
b. Political Science
c. Biology

d. Physics
Check

Who single-handedly designed and developed the Java programming language?


Select one:
a. Guido van Rossum
b. Yukihiro Matsumoto
c. James Gosling
d. Bjarne Stroustrup
Check

What general part of Computers that performs calculations to accomplish tasks?


Select one:
a. Process
b. Output
c. Operating System

d. Input
Check

When was the Chinese abacus invented?


Select one:
a. 200 B.C.
b. 300 B.C.
c. 1,000 B.C.

d. 3,000 B.C.
Check

It is a symbol used to set values.


Select one:
a. Process
b. Off-page Connector
c. Data

d. Decision
Check

It is one of the characteristics of problem solving in computer programming that aims to meet one
specific path.
Select one:
a. Goal-oriented
b. Solvable
c. Verifiable

d. Doable in a finite step


Check
It is a symbol with two and only two out-going paths possible.
Select one:
a. Process
b. Data
c. Decision

d. Off-page Connector
Check

It is a symbol used to indicate a specific action to be done.


Select one:
a. Off-page Connector
b. Data
c. Decision

d. Process
Check

It is one of the characteristics of problem solving in computer programming that deals with assessing
the validity of the solutions.
Select one:
a. Doable in a finite step
b. Solvable
c. Verifiable

d. Goal-oriented
Check

It is a keyword that accepts values from the user.


Select one:
a. OUTPUT
b. CALL
c. WHILE ... DO ... LOOP

d. INPUT
Check

It is one of the characteristics of problem solving in computer programming that deals with the
feasibility of the problem in terms of time.
Select one:
a. Verifiable
b. Goal-oriented
c. Doable in a finite step

d. Solvable
Check

It is a keyword that specifies a condition to repeat a block of statements.


Select one:
a. OUTPUT
b. WHILE ... DO ... LOOP
c. CALL

d. INPUT
Check

It is a symbol used to connect parts of the flowcharts from different pages.


Select one:
a. Off-page Connector
b. Process
c. Data

d. Decision
Check

It is a keyword that calls user-defined functions.


Select one:
a. WHILE ... DO ... LOOP
b. INPUT
c. CALL

d. OUTPUT
Check

What is the minimum number of flowchart symbols for this problem?


"Write a program that displays 'Hello World'."
Select one:
a. 2
b. 0
c. 1
d. 3
Check

It is one of the characteristics of technical work items to be written direct to the point.
Select one:
a. Specific
b. Classifiable
c. Concise

d. Unambiguous
Check

What is the equivalence of the flowchart DISPLAY in pseudocodes?


Select one:
a. CONDITION
b. OUTPUT
c. INPUT

d. PROCESS
Check

Given the problem below, that is the most probable last work item of the solution?
"Write a program that displays the section of the user"
Select one:
a. "To enter the username"
b. "To display section"
c. "To calculate the birth year"

d. "To display the age"


Check

Given the problem below, what is the most probable last work item of the solution?
"Write a program to calculate the age of the user based on his birth year"
Select one:
a. "To display the lastname"
b. "To display the birth month"
c. "To display age"

d. "To display the firstname"


Check

What is the equivalence of the pseudocode IF ... THEN ... END in flowcharts?
Select one:
a. CONDITION
b. PROCESS
c. INPUT

d. OUTPUT
Check

Given the work item below, what is its most probable problem that it answers?
"To display appendFirstLastname"
Select one:
a. "Write a program that displays the firstname"
b. "Write a program to display the complete name of the user"
c. "Write a program to estimate the lifespan of the user"

d. "Write a program to display the age of the user"


Check

It is one of the characteristics of technical work items to be distinctive in purpose or aim.


Select one:
a. Concise
b. Unambiguous
c. Specific

d. Classifiable
Check

It is one of the characteristics of technical work items to be written shortly.


Select one:
a. Classifiable
b. Specific
c. Concise

d. Unambiguous
Check

What is the minimum number of pseudocode for this problem?


"Write a program that displays 'Hello World'."
Select one:
a. 1
b. 3
c. 2

d. 0
Check

What is needed to be downloaded for the convenience of users working different Microsoft Windows
Architecture?
Select one:
a. Microsoft Windows
b. GitHub
c. Minimalist GNU for Windows

d. Visual Studio Code


Check

It focuses on Native libraries hence even its Graphical User Interface (GUI) is made using Native
Windows Application.
Select one:
a. Microsoft Windows
b. Minimalist GNU for Windows
c. GitHub

d. Visual Studio Code


Check

This is a way to organize the development files and configurations in a centralized repository.
Select one:
a. Integrated Development Environment
b. Version Control
c. Operating System

d. Compilers
Check

These are fully-integrated software that contains various features dedicated to software
development.
Select one:
a. Compilers
b. Version Control
c. Operating System

d. Integrated Development Environment


Check

This tool varies mainly on how they support internal libraries, up-to-date third-party libraries and
code optimization.
Select one:
a. Integrated Development Environment
b. Compilers
c. Operating System

d. Version Control
Check

What is needed to be verified correct and accurate before creating a repository?


Select one:
a. Permissions
b. Administrative Rights
c. Fields

d. Disk Space
Check

It is a free and public web-based repository that allows distributed version control and source control
management tool that uses extended Git functionalities.
Select one:
a. Minimalist GNU for Windows
b. Visual Studio Code
c. Microsoft Windows

d. GitHub
Check

This allow you to revert and secure copies of changes that you will commit to the repository.
Select one:
a. Integrated Development Environment
b. Compilers
c. Version Control

d. Operating System
Check

This command prompt-like window that will help build fundamentals in computer programming.
Select one:
a. Console
b. Visual Studio
c. Graphical User Interface

d. Git
Check

It is one of the main thing we consider when undergoing Software Development.


Select one:
a. Compilers
b. Operating System
c. Integrated Development Environment

d. Version Control
Check

This is the act of storing values to variables.


Select one:
a. Assigning
b. None of the choices
c. Declaring

d. Retrieving
Check

This is the act of saying we will be using a variable of a specific data type.
Select one:
a. Assigning
b. Retrieving
c. Declaring

d. None of the choices


Check

These are limits placed to handle specific data.


Select one:
a. Both Variables and Data Types
b. Data Types
c. None of the choices

d. Variables
Check

These are temporary storage of data.


Select one:
a. None of the choices
b. Variables
c. Data Types

d. Both Variables and Data Types


Check

These are unnamed variables.


Select one:
a. Explicit Variables
b. Anonymous Variables
c. Implicit Data Types

d. Explicit Data Types


Check

This is the act of getting stored values from variables.


Select one:
a. Assigning
b. None of the choices
c. Declaring

d. Retrieving
Check

These are declared variables.


Select one:
a. Implicit Data Types
b. Anonymous Variables
c. Explicit Variables

d. Explicit Data Types


Check

These are the strong-typed data types.


Select one:
a. Implicit Data Types
b. Explicit Data Types
c. Anonymous Variables

d. Explicit Variables
Check

These are also called Variants.


Select one:
a. Explicit Variables
b. Anonymous Variables
c. Explicit Data Types

d. Implicit Data Types


Check

These are the only data type to handle textual values.


Select one:
a. Characters
b. Doubles
c. Integers

d. Floats
Check

It is located within a curly brackets/braces; opened by “{“, and closed by “}”.


Select one:
a. Microsoft Windows
b. Visual Studio Code
c. Code Blocks

d. Minimalist GN for Windows


Check

It is a conditional that compares one specific variable with a set of constants.


Select one:
a. Else
b. If-Else
c. Switch

d. If-Switch
Check

This statement is used to perform different actions per its condition.


Select one:
a. If-Switch
b. Switch
c. If-Else

d. Else
Check

These are the two types of conditionals in C++.


Select one:
a. If-Switch
b. Switch
c. If-Else

d. Else
Check

This act means to create a different set of statement based on conditions.


Select one:
a. Global variables
b. Conditionals
c. Local Variables

d. None of the choices


Check

It is an open source cross-platform IDE that supports a series of programming language.


Select one:
a. Microsoft Windows
b. Minimalist GN for Windows
c. Visual Studio Code

d. Code Blocks
Check

The act where it is declared outside of the function.


Select one:
a. None of the choices
b. Conditionals
c. Local Variables

d. Global variables
Check

The act where it is declared inside of a specific code block and can only be access inside of the said
code block.
Select one:
a. None of the choices
b. Conditionals
c. Global variables

d. Local Variables
Check

This statement is used in undefined conditional expressions.


Select one:
a. Switch Statements
b. If Statements
c. Switch

d. Else
Check

This code block is the entry point of C++ applications.


Select one:
a. using namespace std;
b. int main( )
c. return EXIT_SUCCESS;

d. #include<iostream>
It is a special variable wherein set of initial values are placed.
Select one:
a. Counter
b. Body
c. Increment/Decrement

d. Condition
Check

This special variable manages the flow of the loop.


Select one:
a. Increment/Decrement
b. Counter
c. Condition

d. Body
Check

This looping statement in C++ where the condition is evaluated right before the execution.
Select one:
a. While Loop
b. Do-While Loop
c. For Loop

d. None of the choices


Check

It is a phase in looping where the statements inside the loop are executed.
Select one:
a. Counter
b. Condition
c. Body

d. Increment/Decrement
Check

It is phase in looping where the counter in increasing or decreasing.


Select one:
a. Counter
b. Condition
c. Body

d. Increment/Decrement
Check

It is equivalent to one cycle of repetition.


Select one:
a. Condition
b. Looping
c. Initialization

d. Iteration
Check

It repeats a series of statement that aim to reach a certain condition.


Select one:
a. Condition
b. Iteration
c. Initialization

d. Looping
Check

This phase in looping statements that dictates whether the loop should stop or continue.
Select one:
a. Iteration
b. Initialization
c. Looping

d. Condition
Check

This phase in looping statements that dictates whether the loop should stop or continue.
Select one:
a. Iteration
b. Initialization
c. Looping

d. Condition
Check

It is the phase of looping statements where a variable called counter is set an initial value.
Select one:
a. Initialization
b. Looping
c. Iteration

d. Condition
Check

It is the result of an incorrect action or operation.


Select one:
a. Bug
b. Exception
c. Defect

d. Error
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

What variable contains more than one value of similar data types?
Select one:
a. Index
b. Array
c. None of the choices

d. Size
Check

A problem wherein the values of given array is being arranged.


Select one:
a. Descending
b. Counting
c. Ascending

d. Sorting
Check

In the discussion, what is the allocated size for a char data type?
Select one:
a. 32 bits
b. 1 bit
c. 64 bits

d. 8 bits
Check

In the discussion, what is the allocated size for a double data type?
Select one:
a. 32 bits
b. 1 bit
c. 8 bits

d. 64 bits
Check

This integer dictates what element of array is being process.


Select one:
a. Index
b. Size
c. Array

d. None of the choices


Check

In the discussion, what is the allocated size for an int data type?
Select one:
a. 32 bits
b. 1 bit
c. 64 bits

d. 8 bits
Check

It is an array of characters.
Select one:
a. None of the choices
b. String
c. String and Text

d. Text
Check

What is the usual arrangement for a numerical value?


Select one:
a. Counting
b. Sorting
c. Ascending

d. Descending
Check

It dictates the maximum number of values stored by an array.


Select one:
a. Index
b. Array
c. Size

d. None of the choices


Check

This code block can adopt input from another code block.
Select one:
a. Body/Body of the Function
b. None of the choices
c. Parameter

d. Function
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

It serves as an entry point of any C++ application.


Select one:
a. int sum( )
b. int init( )
c. int entry( )

d. int main( )
Check

These are the set of statements found inside the curly braces.
Select one:
a. Body/Body of Code Blocks
b. Function Name
c. Void/Void Return Type

d. Return Type
Check

This property states that the value cannot be changed.


Select one:
a. Maintainability
b. Permutability
c. Configurability

d. Immutability
Check

Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text

It informs the application that the function shall not return any data.
Select one:
a. Void/Void Return Type
b. Return Type
c. Body/Body of Code Blocks

d. Function Name
Check

It is a data type where the function shall return as its execution.


Select one:
a. Body/Body of Code Blocks
b. Function Name
c. Return Type

d. Void/Void Return Type


Check

Feedback

Correct
It is used to itemize the input values of the function.
Select one:
a. Body/Body of the Function
b. Parameter
c. Function

d. None of the choices


Check

It is a group of statements contained by a code block.


Select one:
a. Void/Void Return Type
b. Body/Body of Code Blocks
c. Return Type

d. Function Name
Check

It is used as an alias as reference to the function.


Select one:
a. Body/Body of Code Blocks
b. Void/Void Return Type
c. Return Type

d. Function Name
Check

What is the first computer created using Object-Oriented Programming?


Select one:
a. Sims
b. Perl
c. DynaBook

d. Simula
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

It is a subset Object-Object Programming which focuses in abstract representations of the objects.


Select one:
a. Prototype-based
b. State-based
c. Class-based

d. Object-based
Check

It is a programming centered in the use of objects.


Select one:
a. Header Files
b. Class
c. Object-Oriented Programming

d. Objects
Check

In what year does the practice of Object-Oriented Programming started?


Select one:
a. 1967
b. 1968
c. 1969

d. None of the choices


Check

It is a representation of tangible and intangible materials in Object-Oriented Programming.


Select one:
a. Objects
b. Header Files
c. Object-Oriented Programming

d. Class
Check

It is a subset Object-Object Programming which focuses in reusability of the objects.


Select one:
a. Prototype-based
b. State-based
c. Object-based

d. Class-based
Check

It is an abstract representation of objects.


Select one:
a. Header Files
b. Objects
c. Class

d. Object-Oriented Programming
Check

It is a separate C++ file which contains supplementary codes for applications.


Select one:
a. Object-Oriented Programming
b. Class
c. Header Files
d. Objects
Check

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text

It is created to initialize operations for the class upon declaration.


Select one:
a. Instantiation
b. Destructor
c. Initializer

d. Constructor
Check

It is a programming language specialized in simulations.


Select one:
a. DynaBook
b. Simula
c. Sims

d. Perl
Check

This method has a prefixed with "set" in their function name.


Select one:
a. Encapsulation
b. Accessors
c. Abstraction

d. Mutators
Check
Feedback

Correct
Marks for this submission: 1.00/1.00.

This principle generalizes the properties and methods of classes in such a way that the
implementations are hidden from outside the class.
Select one:
a. Mutators
b. Encapsulation
c. Accessors

d. Abstraction
Check

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text

This principle extends the features and functionalities of existing classes and interfaces.
Select one:
a. Overriding
b. Inheritance
c. Overloading

d. Polymorphism
Check

In this discussion, how many principles does OOP have?


Select one:
a. Two (2)
b. One (1)
c. Four (4)
d. Three (3)
Check

It is a method that enables the assignment of values to our properties hidden by scopes.
Select one:
a. Abstraction
b. Encapsulation
c. Accessors

d. Mutators
Check

Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text

This method's main purpose is to store values in hidden properties.


Select one:
a. Mutators
b. Accessors
c. Abstraction

d. Encapsulation
Check

This principle is used to hide the internal working of an application.


Select one:
a. Encapsulation
b. Abstraction
c. Mutators

d. Accessors
Check
This method has a prefixed with "get" in their function name.
Select one:
a. Accessors
b. Abstraction
c. Encapsulation

d. Mutators
Check

It is a method which enables the retrieval of values hidden by scopes.


Select one:
a. Encapsulation
b. Mutators
c. Abstraction

d. Accessors
Check

This principle ensures that only the necessary methods are presented outside of the current class.
Select one:
a. Mutators
b. Encapsulation
c. Accessors

d. Abstraction
Check

It is assigned with the pointers which are done by appending an ampersand, the address of
operator, before the variable name.
Select one:
a. Address of the variable
b. None of the choices
c. Address of the pointer

d. Address of the reference


Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

Aside from machine languages, these are programming languages that exhibit the weakest
abstraction of all the programming languages.
Select one:
a. Mid-level Programming Languages
b. Low-level Programming Languages
c. None of the choices

d. High-level Programming Languages


Check

It is the programming languages that exhibit the strongest abstraction of its programming schema.
Select one:
a. Mid-level Programming Languages
b. None of the choices
c. High-level Programming Languages

d. Low-level Programming Languages


Check

It's a special type of variable that stores the address permanently in the memory.
Select one:
a. Dereferencing (*)
b. References
c. Pointers

d. Address Of (&)
Check

What are the special variables in C++ that points to a sector in the memory?
Select one:
a. Address Of (&)
b. Dereferencing (*)
c. References

d. Pointers
Check

It is the operator used to retrieve the address of the variable.


Select one:
a. Dereferencing (*)
b. References
c. Address Of (&)

d. Pointers
Check

Who designed the programming language that initially proposed as a high-level programming
language?
Select one:
a. Josh Gosling
b. Roberts Khult
c. George Washitzer

d. Bjarne Stroustrup
Check

It is the programming languages that exhibit strong abstraction and mid-range access to the memory
and operating system.
Select one:
a. None of the choices
b. Low-level Programming Languages
c. Mid-level Programming Languages

d. High-level Programming Languages


Check

What kind of somewhat image does pointer create with the variable they are pointed to?
Select one:
a. Mirror Image
b. None of the choices
c. Duplicate Image

d. Copy Image
Check

Cis as what type of programming language?


Select one:
a. None of the choices
b. Low-level Programming Languages
c. Mid-level Programming Languages

d. High-level Programming Languages


Check

What are the result of retrieving a value from a variable?


Select one:
a. Copy of the address
b. Reference to the address
c. Reference to the value

d. Copy of the value


Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text

What are used in function calls that store addresses in the memory?
Select one:
a. References
b. None of the choices
c. Pointers

d. Variables
Check

These are container objects in C++ that can be applied with pointers.
Select one:
a. None of the choices
b. References
c. Variables

d. Pointers
Check

These are containers that are assigned an actual value (e.g. not an address in the memory).
Select one:
a. None of the choices
b. Pointers
c. References

d. Variables
Check

These are declared with parameters.


Select one:
a. Classes
b. Functions
c. Variables

d. Pointers
Check

These are containers that are preceded with an asterisk.


Select one:
a. Pointers
b. Variables
c. None of the choices

d. References
Check

What are used in function's parameters that store addresses in the memory?
Select one:
a. None of the choices
b. References
c. Pointers
d. Variables
Check

These are non-constant containers that may only be assigned a value once.
Select one:
a. References
b. Variables
c. Pointers

d. None of the choices


Check

These are containers that are preceded with an ampersand.


Select one:
a. References
b. None of the choices
c. Pointers

d. Variables
Check

The _________ programming language is mainly used by OSX and iOS.


Select one:
a. C++
b. Java
c. Objective-C

d. Shell
Check

True or False:
The characteristic of Technical Work Items that deals with clarity is called Clear.
Select one:
True

False
Check

A scheme that focuses on entertainment and activities is called _________ Development.


Select one:
a. Multimedia
b. Firmware
c. Game

d. Software
Check

True or False:
In 3,000 B.C., the Greek Abacus was invented.
Select one:
True

False
Check

True or False:
Given the problem, "Write a program to organize paper bills by their corresponding denomination", a
possible work item would be "to ask the user for nickname and address".
Select one:
True

False
Check

True or False:
One possible application of Embedded Systems Development is in Home Automation.
Select one:
True

False
Check

Some word processing applications can create _______________ and pseudocodes.


Select one:
a. Databases
b. Development Projects
c. Source Codes

d. Flowcharts
Check

The END terminator is placed as the _______________ symbol in the entire flowchart.
Select one:
a. End of each page
b. End of the second sequence
c. End of the first sequence

d. End of the last page


Check

A symbol used to identify which of the possible approaches will be taken based on the conditions
called _____________.
Select one:
a. Initialization
b. If
c. Data

d. Decision
Check

There are at least ______________ arrows in Decision Symbols of flowcharts.


Select one:
a. Four/4
b. One/1
c. Two/2

d. Three/3
Check

Client computers that sends requests to a ________ is processed in transmissions.


Select one:
a. Server
b. Domain
c. Client

d. Protocol
Check

True or False:
The category in pseudocodes that deal with decision making is IF ... THEN ... ENDF.
Select one:
True

False
Check

True or False:
Flowcharts are created using spreadsheet applications.
Select one:
True

False
Check

True or False:
A Decision Symbol is the flowchart equivalent of switch keyword in pseudocode.
Select one:
True

False
Check

All _______________ are convertible to ________________.


Select one:
a. Symbols, Diagrams
b. Diagrams, Sumbols
c. Pseudocodes, Flowcharts

d. Flowcharts, Pseudocodes
Check

A computer component that deals with miscellaneous instructions of software is called


____________.
Select one:
a. Random Access Memory
b. Graphics Processing Unit/GPU
c. Monitor

d. Central Processing Unit/CPU


Check

True or False:
The characteristic of Technical Work Items that deal with consistency is called Nonce.
Select one:
True

False
Check

Process is an instance that indicates a specific action done in the ________________ activity.
Select one:
a. Previous
b. Current
c. Future

d. Succeeding
Check

True or False:
Given the following work items: (a) "To ask user for age" and (b) "To ask user for item price", the
problem being addressed is about prices and interests.
Select one:
True

False
Check

An application can process, _______ and be developed within an operating system.


Select one:
a. View
b. Console
c. Run

d. Write
Check

James Gosling developed the ________ programming language.


Select one:
a. Objective-C
b. Java
c. C#

d. Python
Check

The symbol used for Data is shaped like a ______________.


Select one:
a. Rounded Rectangle
b. Oval
c. Rhombus

d. Rectangle
Check

True or False:
All pseudocodes are convertible to flowcharts.
Select one:
True

False
Check

True or False:
Data is a symbol used to compare two discrete values.
Select one:
True

False
Check

True or False:
Server configurations are dealt using Data Science.
Select one:
True

False
Check

True or False:
As of 2016, Cloud Computing is not yet supported by C#.
Select one:
True

False
Check

Overlapping arrows are _______________ in flowcharts.


Select one:
a. Optional
b. Not Allowed
c. Allowed Sometimes
d. Allowed
Check

True or False:
Database applications can create pseudocodes.
Select one:
True

False
Check

A _________ storage in the computer that is randomly accessed is called RAM.


Select one:
a. Temporary
b. Read-only
c. Permanent

d. Mutable
Check

Terminator is always the _________ symbol that can be found at the top-most of all flowcharts.
Select one:
a. First
b. Last
c. Second to the last

d. Second to the first


Check

The ____________ looping statement evaluates the condition before executing the body and the
increment/decrement.
Select one:
a. for
b. while
c. do-until

d. do-while
Check

Feedback
Correct
Marks for this submission: 1.00/1.00.
True or False:
There are three (3) components that build up the phases of looping statements.
Select one:
True

False
Check

Feedback

Correct 
True or False:
A group of related statements are called code blocks.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
___________ enabled developers to repeat a sequence of statements given the right conditions.
Select one:
a. Functions
b. Selections
c. Loops

d. Conditionals
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The ____________ statement uses defined constants in evaluating conditions.
Select one:
a. else
b. if
c. switch

d. else if
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
__________________ allows developer to support scenarios in the application.
Select one:
a. Compilation
b. Data
c. Variables

d. Conditionals
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The ________ statement mainly uses integers as value to be evaluated.
Select one:
a. switch
b. else
c. if

d. else if
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Conditions within a while loop are evaluated after the execution.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The compiler that presents a minimalistic approach for Windows is called _________________.
Select one:
a. VC++
b. MinGW
c. MingGW

d. WinC++
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
The free and web-based repository that allows distributed version control is called GitOpen.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Visual Studio Code is an IDE that supports multiple programming languages under multitude of
operating systems.
Select one:
True
False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The ________________________ tool enables better code management through backups and
source control.
Select one:
a. Integrated Development Environment
b. Access Control
c. Version Control

d. File management
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
_______________ is the phase in looping statements that are evaluated.
Select one:
a. Increment/Decrement
b. Body
c. Initialization

d. Condition
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The phase in looping that indicates the statements under the loop is called _________.
Select one:
a. Body
b. Code Block
c. Increment/Decrement

d. Parameter
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
________ statement is used to output a string to inform the user about the conditions need.
Select one:
a. cin
b. std::cout
c. std::cin

d. Cout
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Explicit Data Types are also called Variants.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
One cycle of repetition using loops is called an iteration.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.

 True or False:

Local variables are accessible throughout the code.


Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Unnamed variables are accessible using the unmarked symbol.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Unnamed variables are called Anonymous Variables.
Select one:
True

False
Check

Feedback
Correct
Marks for this submission: 1.00/1.00.

Question 21
Correct
Mark 0.33 out of 1.00

Flag question

Question text

Global variables are variables declared _____________ int main() code block.
Select one:
a. Inside
b. Before
c. Outside

d. After
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.33/1.00.
True or False:
A series of statement repeated when a specific condition is met is called looping.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
Variables defined within a code block is called ____________ variables.
Select one:
a. Initialized
b. Global
c. Illegal

d. Local
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
Implicit Data Types can store _____ type of values.
Select one:
a. Any
b. Explicit
c. Selected

d. Implicit
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
True or False:
Iteration is the special variable that controls the flow of loops.
Select one:
True

False
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
Classes are part of ____________________ Data Types.
Select one:
a. Primitive
b. Object
c. Referenced

d. Dereferenced
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The most efficient data type to use for flags like gender is _________________.
Select one:
a. Integer
b. Character
c. Boolean

d. Floating-point
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
__________________ is a looping statement where the body is executed first before the condition is
evaluated.
Select one:
a. do-while
b. while
c. for

d. do-until
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
__________ statement is used in undefined conditional expressions.
Select one:
a. end if
b. else
c. if

d. else if
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
The _________________ phase decreases the value of the counter.
Select one:
a. Merit
b. Decrement
c. Demerit

d. Increment
Check

A sector of array which contains a _________ is called element.


Select one:
a. Variable name
b. Array Size
c. Data Type

d. Value
Check

Statements found inside of the ___________ are called code block.


Select one:
a. Function Declarations
b. Parenthesis
c. Curly Braces

d. Square Braces
Check

The index _________ which element of the array is on being process.


Select one:
a. Declares
b. Sets
c. Initializes

d. Destroys
Check

True or False:
Function is used as an alias as reference to the function.
Select one:
True

False
Check

True or False:
The allocated size if a chartype is 8 bits.
Select one:
True

False
Check

True or False:
Function name is a separate code block that performs a specific task.
Select one:
True

False
Check

True or False:
Sorting problems are problems where the values of given array is being arranged in a decremental
order.
Select one:
True

False
Check

Question 8
Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False:
The int main()function serves as an entry point of any C++ application.
Select one:
True

False
Check

__________ is a component of the function which itemizes the input values of the function.
Select one:
a. Return Statement
b. Parameter
c. Function Declaration

d. Body
Check

The syntax for the ______________ is dataType variableName.


Select one:
a. Parameter
b. Increment/Decrement
c. for Loop Declaration

d. Function Declaration
Check

Parameter is a component of the function which _______ the input values of the function.
Select one:
a. Increases
b. Destroys
c. Multiplies

d. Itemizes
Check

We used __________to get user input.


Select one:
a. std::cin
b. Cout
c. Cin

d. std::cout
Check

Question 13
Correct
Mark 0.00 out of 1.00

Flag question

Question text

True or False: Parameter code block can adopt input from another code block.
Select one:
True

False
Check

Question 14
Correct
Mark 1.00 out of 1.00

Flag question

Question text

True or False:
Parameter is used to itemize the input values of the function.
Select one:
True

False
Check

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text

The _____________ header file is used for string input with no space on it in C++.
Select one:
a. #include <cstring>
b. #include <stdio>
c. #include <cstdlib>

d. #include <iostream>
Check

___________ is the result of incorrect action committed unexpectedly.


Select one:
a. Runtime Error
b. Exception
c. Interruption

d. Compile Error
Check

Question 17
Correct
Mark 1.00 out of 1.00

Flag question
Question text

____________ are also known as procedures.


Select one:
a. Fields
b. Functions
c. Properties

d. Anonymous Variables
Check

Question 18
Correct
Mark 0.00 out of 1.00

Flag question

Question text

True or False:
string is an array of text.
Select one:
True

False
Check

True or False:
The allocated size for a double data type is 64 bits (integer).
Select one:
True

False
Check

Question 20
Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False:
The body of the function is a group of statements contained by a code block.
Select one:
True

False
Check

An array can contain ___________ values of the same data type.


Select one:
a. Zero or One
b. Zero
c. One or Two

d. One or more
Check

Question 22
Correct
Mark 1.00 out of 1.00

Flag question

Question text

True or False:
The allocated size for an int data type is 64 bits
Select one:
True

False
Check

In the discussion, the allocated size for a double data type is___________.
Select one:
a. 64 bits (floating point)
b. 32 bits (floating point)
c. 32 bits (integer)

d. 64 bits (integer)
Check

A __________ can call several other functions.


Select one:
a. Reference
b. Pointer
c. Procedure

d. Variable
Check

The ___________ statement is used for the system function.


Select one:
a. #include <cstring>
b. #include <iostream>
c. #include <cstdlib>

d. #include <stdio>
Check

C++ does not allow array of ________ sizes.


Select one:
a. Singular
b. Dynamic
c. Implicit Size

d. Fixed
Check

________ is defined as part of an entire code.


Select one:
a. Function
b. Exception
c. Code Block

d. Snippet
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.
True or False:
Descending is the usual arrangement for numerical values.
Select one:
True

False
Check

The ____________ serves as an entry point of any C++ application.


Select one:
a. EXIT_SUCESS
b. int main()
c. using namespace std;

d. #include<iostream>
Check

A property that states if a value cannot be changed is called. _____________.


Select one:
a. Immutability
b. Definiteness
c. Constant

d. Persistent
Check

You might also like