Computer Programming Rev

Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

What domain deals with microcontrollers?

Select one:
a. API Development
b. Embedded Systems Development
c. Back-end Development
d. Cloud Development

e. Data Science

What type of software that acts as translators for the hardware components of the computer?
Select one:
a. Operating System
b. Firmwares
c. Utilities
d. Embedded Systems

e. Applications

What domain deals with web applications?


Select one:
a. Cloud Development
b. Embedded Systems Development
c. Data Science
d. API Development

e. Back-end Development

Which is not the file extension of Linux applications?


Select one:
a. .so
b. Not applicable
c. .h
d. All of the choices

e. .lnx
What domain deals with server configurations?
Select one:
a. Back-end Development
b. Data Science
c. API Development
d. Embedded Systems Development

e. Cloud Development

Which of the following was not helped by technology to advance further in their respective fields?
Select one:
a. None of the choices
b. Agriculture
c. Oncology
d. Stem-cell Research

e. Cancer Research

Which is not an application of Embedded Systems Development?


Select one:
a. Microsystems
b. Test Automation
c. All of the choices

d. None of the choices

Which is not a subdomain of Application Development?


Select one:
a. CLI Applications
b. UI Applications
c. API Development
d. Cloud Development

e. Game Development
Which of the following is not used in API Development?
Select one:
a. None of the Above
b. JSON
c. XML

d. HTML

What domain deals with analytics?


Select one:
a. API Development
b. Cloud Development
c. Data Science
d. Back-end Development

e. Embedded Systems Development

Which language ranked Top 5 of the most used languages in GitHub as of 2016?
Select one:
a. Ruby
b. C
c. PHP
d. C++

e. C#

Which platform do C# not yet support as of 2016?


Select one:
a. Mobile
b. Smart TVs
c. Cloud
d. Desktop

e. Automation

What do you call the distribution of information when stored on a physical disk?
Select one:
a. All of the choices
b. Sectoring
c. None of the choices
d. Fragmentation

e. Component

Which is not a version of Shell?


Select one:
a. SSH
b. PSH
c. RSH
d. CSH

e. BASH

What web browser used the first versions of JavaScript?


Select one:
a. Netscape Navigator
b. Opera
c. Firefox
d. Internet Explorer

e. Chromium

It is one of the characteristics of problem solving where the problem can be processed by the
computer given a specific conversion scale.
Select one:
a. Doable in finite steps
b. Verifiable
c. Solvable

d. Quantifiable

It is one of the characteristics of technical work item that deals with pseudocodes.
Select one:
a. Classifiable
b. Concise
c. None of the choices

d. Unambiguous

It is a symbol used to set values.


Select one:
a. Process
b. Decision
c. Data

d. Off-page Connector

It is one of the characteristics of technical work item that deals with being clear in nature.
Select one:
a. Unambiguous
b. Concise
c. Classifiable

d. None of the choices

It is a keyword that calls user-defined functions.


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

d. INPUT

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 firstname"
b. "To display the birth month"
c. "To display age"

d. "To display the lastname"


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. Verifiable
c. Solvable

d. Doable in a finite step

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

False

What flowchart symbol is the equivalent for the pseudocode IF ... THEN ... END keyword?
Select one:
a. Data
b. Conditional
c. Process

d. Preparation

It is a symbol with two and only two out-going paths possible.


Select one:
a. Process
b. Decision
c. Data

d. Off-page Connector

It is a symbol in flowcharting used to initialize values and routines.


Select one:
a. Data
b. Terminator
c. Preparation

d. Process
What is the minimum number of pseudocode for this problem?
"Write a program that displays 'Hello World'."
Select one:
a. 3
b. 1
c. 0

d. 2

What is the equivalence of the flowchart DISPLAY in pseudocodes?


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

d. PROCESS

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

d. Goal-oriented

It is a symbol in flowcharting used to retrieve value from the user.


Select one:
a. Terminator
b. Data
c. Preparation

d. Process

True or False:
Given the following work item(s):
"To ask user for basic salary"
"To ask user for total deductions"
The most probable problem being addressed is "write a program to determine interest rate."
Select one:
True

False

What flowchart symbol is the equivalent for the pseudocode CALL keyword?
Select one:
a. Data
b. Preparation
c. Conditional

d. Process

It is a variant of the IF-THEN-END keywords wherein there can be more than one condition, and a
separate block if none of the conditions specified matched.
Select one:
a. IF ... THEN ... ELSE ... END
b. IF ... THEN ... ELSE IF ... THEN ... ELSE ... END
c. IF ... THEN ... END

d. CALL

It is a symbol in flowcharting used to display value to the user.


Select one:
a. Process
b. Terminator
c. Data

d. Preparation

PRE-LIM

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
True or False:
A Decision Symbol is the flowchart equivalent of switch keyword in pseudocode.
Select one:
True

False

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

James Gosling developed the ________ programming language.


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

d. C#

There are _______ scenarios per decision symbol in flowcharts.


Select one:
a. Two/2
b. Three/3
c. One/1

d. Zero/0

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

False

The OUTPUT keyword in pseudocodes ____________________.


Select one:
a. Displays a value
b. Returns a value
c. Displays variables

d. Returns variables

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

d. Second to the last

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


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

d. Write

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


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

d. Server

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

False
__________ keyword accepts user values.
Select one:
a. INPUT
b. VALUE
c. ACCEPT

d. VARIABLE

___________ is a graphical representation that shows a series of actions in computer programming.


Select one:
a. UML
b. Diagrams
c. Flowchart

d. Pseudocode

________________ is defined as a systematic approach to solve the main problem.


Select one:
a. Development
b. Work Items
c. Problem Solving

d. Sequential Analysis

Overlapping arrows are _______________ in flowcharts.


Select one:
a. Allowed
b. Not Allowed
c. Allowed Sometimes

d. Optional

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


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

d. Objective-C
The practical result involving more than one programming language is called __________________.
Select one:
a. Coding
b. Development
c. Programming

d. Multi-tasking

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

False

Technical Work Items is an ___________ step prior creating flowcharts.


Select one:
a. Post-requisite
b. Required
c. Optional

d. Pre-requisite

The symbol used for Data is shaped like a ______________.


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

d. Rectangle

Some word processing applications can create _______________ and pseudocodes.


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

d. Databases
C++ Programming Language was designed by _______________.
Select one:
a. Bjarne Stroustrupe
b. Barne Stroustrupe
c. Bjarne Stroustrup

d. Barne Stroustrup

______________ are created using word-processing applications.


Select one:
a. Flowcharts
b. Source Codes
c. Pseudocodes

d. Development Projects

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


Select one:
a. One/1
b. Three/3
c. Four/4

d. Two/2

The symbol used to set or retrieve values is called ___________.


Select one:
a. Output
b. Accept
c. Input

d. Data

There are ______ terminator symbols per flowchart.


Select one:
a. Zero/0
b. Two/2
c. Three/3

d. One/1

The _________ responsible for sending data to computers are called Input Devices.
Select one:
a. Software
b. Development
c. Hardware

d. Configuration

True or False:
The pseudocode for accepting user values is called INPUT.
Select one:
True

False

A storage of _________________ is called variables.


Select one:
a. Addresses
b. Pointers
c. References

d. Values

True or False:
A variation in the conditions keyword is IF ... THEN ... ELSE ... WEND.
Select one:
True

False

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


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

d. Central Processing Unit/CPU

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

False

Data is a symbol used to compare two discrete values.


Select one:
True

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

d. End of the first sequence

True or False:
One characteristic of Technical Work Items is Classifiable - being able to distinctively classify the
purpose or aim.
Select one:
True

False

The fragmentation of information when stored on a logical disk is called Sectoring.


Select one:
True

False

Database applications can create pseudocodes.


Select one:
True
False

An application is made to run for platforms.


Select one:
True

False

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

False

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

False

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

False

True or False:
A characteristic of Problem Solving that focuses on the quantity of test data is called Verifiable.
Select one:
True

False

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


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

d. Software

All _______________ are convertible to ________________.


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

d. Pseudocodes, Flowcharts

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

False

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

d. Previous

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

d. Decision

The top most terminator uses ___________ arrow.


Select one:
a. In-going
b. Right-going
c. Out-going

d. Left-going

Midterm

Direction : Choose the best answer.


It is here where we develop and run our software.
Select one:
a. Console
b. Operating System
c. C++

d. Version Control

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. Compilers

d. Operating System

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

d. GitHub

Direction : Choose the best answer.


It presents minimalistic approach in presenting tools and libraries necessary to develop application
for Microsoft Windows.
Select one:
a. MinGW
b. Compilers
c. Repository

d. Visual studio code

These are the strong-typed data types.


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

d. Anonymous Variables

These are unnamed variables.


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

d. Explicit Variables

Boolean use only one bit.


Select one:
True

False

Direction : Choose the best answer.


Usually ignored and not to be earnestly read before installing.
Select one:
a. License agreement
b. Admin right
c. Catalogue

d. Sign up

Explicit Variables are declared outside the context of the application.


Select one:
True
False

Direction : Choose the best answer.


What is needed to be installed to support C and C++ applications for Visual Studio?
Select one:
a. MinGW
b. IDE
c. Visual Studio Code

d. C++

Explicit Data Types are also called Variants.


Select one:
True

False

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
It focuses on Native libraries hence even its Graphical User Interface (GUI) is made using Native
Windows Application.
Select one:
a. Microsoft Windows
b. GitHub
c. Visual Studio Code

d. Minimalist GNU for Windows

Direction : Choose the best answer.


Considering the low number of files that are processed for small projects this is optional.
Select one:
a. Compilers
b. IDE
c. Github
d. Version Control

These are declared variables.


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

d. Anonymous Variables

This is the act of storing values to variables.


Select one:
a. Assigning
b. Retrieving
c. Declaring

d. None of the choices

Direction : Choose the best answer.


Compared to the rest of the setup, this installation process will take several steps to complete.
Select one:
a. MinGW
b. Compilers
c. IDE

d. GUI

9 is treated as true.
Select one:
True

False

Direction : True or False


Code Block is a series of programming statement that is located outside of curly
brackets/braces; opened by "{", and closed by "}".
Select one:
True
False

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


Select one:
a. #include<iostream>
b. using namespace std;
c. int main( )

d. return EXIT_SUCCESS;

Direction : True or False


Body is the phase in looping where it dictates whether the loop will start or continue.
Select one:
True

False

Direction : True or False


The increment/decrement happen at the start of the body.
Select one:
True

False

Direction : True or False


A statement wherein the increment/decrement can occur before the other statements of the body is
called While statement.
Select one:
True

False

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

d. While Loop
Direction : True or False
Statement wherein it terminates the execution of the current iteration is called Break Statement.
Select one:
True

False

Direction : True or False


Global variables are variables declared inside of "int main ( )" functions.
Select one:
True

False

This statement is used in undefined conditional expressions.


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

d. If-Switch

Direction : True or False


The counters are separated by open and close parenthesis.
Select one:
True

False

This special variable manages the flow of the loop.


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

d. Counter

Direction : True or False


Initialization used a special variable called count.
Select one:
True

False

Direction : True or False


Is it possible to create a nested conditional depending on the need?
Select one:
True

False

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


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

d. If-Switch

Direction : True or False


A typical initialization of a counter is set to 0.
Select one:
True

False

It is the phase in looping statements where a variable called counter.


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

d. Initialization

The act where it is declared outside of the function.


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

d. Conditionals

Direction : True or False


The use of breaks is to prevent next conditions to be executed causing the switch statement to be
executes.
Select one:
True

False

Direction : True or False


A variable is used to store permanent value in a program.
Select one:
True

False

Direction : True or False


The Case Statement is part of IF Statement.
Select one:
True

False

A statement wherein the used is to terminates the execution of the entire loop is called Continue
statement.
Select one:
True

False

Direction : True or False


Condition is the phase in looping statement where the statements inside the loop are executed.
Select one:
True

False
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. Conditionals
b. Global variables
c. None of the choices

d. Local Variables

Direction : True or False


Is for statement a range-based?
Select one:
True

False

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


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

d. If-Switch

It is a special variable wherein set of initial value are place.


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

d. Increment/Decrement

Direction : True or False


Else statement is used in undefined conditional expressions.
Select one:
True

False
Direction : True or False
Switch statement is a conditional that compares one specific variable with a set of constants.
Select one:
True

False

Direction : True or False


The Default Statement is used when the execution of the case statement fails.
Select one:
True

False

Direction : True or False


In a series of statements, looping in C++ is not allowed to repeat.
Select one:
True

False

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

d. Function Name

Direction : True or False


A separate C++ files that contains supplementary codes for applications is called Header files.
Select one:
True

False

Direction : True or False


Statements found inside of the curly braces are called Code Blocked.
Select one:
True

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

d. Function Name

Direction : True or False


In the discussion, the allocated size for a bool data type is 32 bits.
Select one:
True

False

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


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

d. Perl

Direction : True or False


A programming language that defines an error in a specific action is called exception.
Select one:
True

False

Direction : True or False


The practice of Object-Oriented Programming came as early as the year 1976.
Select one:
True

False

Direction : True or False


We used FOR loop to get user output.
Select one:
True

False

Direction : True or False


The #include statement is used for string input and output of C++.
Select one:
True

False

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


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

d. Void/Void Return Type

Direction : True or False


In C++, the abstract representation of objects is called class.
Select one:
True

False

Direction : True or False


The first personal computer created using Object-Oriented Programming is PC DOS by IBM.
Select one:
True

False

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


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

d. Initializer
Direction : True or False
It limits the access to the properties and methods under it to only the class where they are defined is
called protected scope.
Select one:
True

False

This integer dictates what element of array is being process.


Select one:
a. Array
b. Index
c. None of the choices

d. Size

Direction : True or False


Is it possible for a constructor to have a same number of parameters?
Select one:
True

False

Direction : True or False


It limits the access to the properties and methods under it to the class itself and to all classes that
inherit it is called private scope.
Select one:
True

False

Direction : True or False


The one that dictates the maximum value stored by an array is called proportions.
Select one:
True

False
It dictates the maximum number of values stored by an array.
Select one:
a. Size
b. Array
c. Index

d. None of the choices

It is used to itemize the input values of the function.


Select one:
a. Parameter
b. Function

c. None of the choices

Direction : True or False


Function name and variable name are similar?
Select one:
True

False

Direction : True or False


The index declares which element of the array is on being process.
Select one:
True

False

Direction : True or False


A function shall return as its final execution is called reoccurrence data type.
Select one:
True

False

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


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

d. Header Files

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


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

d. Object-Oriented Programming

Direction : True or False


variableName an alias used to remark an array.
Select one:
True

False

It is a programming language specialized in simulations.


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

d. Perl

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

d. None of the choices


A problem wherein the values of given array is being arranged.
Select one:
a. Counting
b. Sorting
c. Ascending

d. Descending

_______________ programming languages are easiest to work with.


Select one:
a. Mid-level
b. High-level
c. Machine-code

d. Low-level

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


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

d. Abstraction

Direction : True or False


A mutators are assigned to enable the assignment of values to our properties hidden by scopes.
Select one:
True

False

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


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

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


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

d. Abstraction

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

d. Address of the variable

Direction : True or False


Function parameters are pointer.
Select one:
True

False

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


Select one:
a. Dereferencing (*)
b. References
c. Pointers

d. Address Of (&)

Prototype-based is a subset Object-Object Programming that focuses in abstract representations of


the objects.
Select one:
True
False

In 1967, the practice of Object-Oriented Programming started.


Select one:
True

False

It is the main software where we develop and run our software application.
Select one:
a. Operating System
b. Version Control
c. Integrated Development Environment

d. Compiler

These are data types that are objective by nature.


Select one:
a. Implicit Data Types
b. Primitive Data Types
c. Explicit Data Types

d. Referenced Data Types

It is the equivalent of the INPUT symbol of Pseudocodes in Flowcharts.


Select one:
a. DATA
b. APPEND

c. PROCESS

It is the classification of Technical Work Items for "to display the account number in masked text".
Select one:
a. INPUT
b. None of the choices
c. PROCESS
d. OUTPUT

It is the complex, fully functional software where we write, organize and manages our source codes
and related files.
Select one:
a. Integrated Development Environment
b. Version Control
c. Operating System

d. Compiler

What is the allocated size of a bool array with size 50?


Select one:
a. 1 bit
b. 100 bits
c. 500 bits

d. 50 bits

These are the parts of Object-Oriented Programming that deals with extended functionality of the
class.
Select one:
a. Scopes
b. Constructors

c. Methods

These are functions in C++ that allows varying sizes of arrays.


Select one:
a. Pointers
b. Dynamic Memory Allocation
c. References

d. None of the choices


These are the parts of Object-Oriented Programming that deals with the different internal variables of
the class.
Select one:
a. Scopes
b. Properties
c. Constructors

d. Methods
These are the parts of Object-Oriented Programming that deals with the constraint placed in
variables and functions regarding where they can be accessed.
Select one:
a. Constructors
b. Methods
c. Scopes

d. Properties

These are conditionals that extend the functionality of if where in several other scenarios are
accounted.
Select one:
a. Switch
b. If ... Else If ... Else
c. If ... Else

d. If

It is the version of Shell that uses the alias ksh.


Select one:
a. Korn Shell
b. Kourne Shell
c. K-Shell

d. KiShell

This is a part of a function that can indicate the function will not pass a value.
Select one:
a. Return Type
b. Parameter
c. Function Name
d. Body of the Function

These are conditionals that matches the value of the variable-under-check with their literal
counterpart.
Select one:
a. Switch
b. If ... Else If ... Else
c. If ... Else

d. If

It is a subset in the internet where documents are relating to other documents using hypertext links.
Select one:
a. Internet
b. Extranet
c. Intranet

d. World Wide Web

It is the characteristic of Technical Work Items that focuses on the precision of the given work item.
Select one:
a. Specific
b. Unambiguous
c. Classifiable as INPUT, PROCESS, or OUTPUT

d. Concise

It is a series of programming statements that are grouped together.


Select one:
a. Conditional
b. Code Block
c. Statements

d. Function

It is the preferred compiler for C++ in Windows x86 architecture.


Select one:
a. Visual Studio Code
b. Git
c. Minimalist GNU for Windows

d. Microsoft Windows

It is the characteristic of Problem Solving that states there should exist at least one probable
solution.
Select one:
a. Verifiable
b. Solvable
c. Doable in finite steps

d. Goal-oriented

You might also like