0% found this document useful (0 votes)
459 views

UGRD ITE6102 Computer Programming 1 PRELIM LAB Exam

The document contains a quiz with multiple choice questions about computer programming, embedded systems, APIs, languages like PHP and JavaScript, application development domains, and other technical topics. It covers concepts like fragmentation, embedded systems, back-end development, application file extensions, variables, operators, flowcharts, pseudocode, and more. The quiz is signed by DARKX and provides single best answers for each question.

Uploaded by

Jitlee Papa
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)
459 views

UGRD ITE6102 Computer Programming 1 PRELIM LAB Exam

The document contains a quiz with multiple choice questions about computer programming, embedded systems, APIs, languages like PHP and JavaScript, application development domains, and other technical topics. It covers concepts like fragmentation, embedded systems, back-end development, application file extensions, variables, operators, flowcharts, pseudocode, and more. The quiz is signed by DARKX and provides single best answers for each question.

Uploaded by

Jitlee Papa
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/ 19

UGRD-ITE6102 Computer Programming

1
(All Quizzes, Lab & Exams)

By: DARKX

Direction : Choose the best answer.

Which is not an application of Embedded Systems Development?

ANSWER: All of the choices

Direction : Choose the best answer.

Which language ranked Top 5 of the most used languages in GitHub as of 2016?

ANSWER: PHP

Direction : Choose the best answer.


Which of the following is not used in API Development?

ANSWER: HTML

Direction : Choose the best answer. Which of the following was not helped by technology to
advance further in their respective fields?

ANSWER: None of the choices


Direction : Choose the best answer. What do you call the distribution of information when
stored on a physical disk?

ANSWER: Fragmentation

Direction : Choose the best answer.


What domain deals with microcontrollers?

ANSWER: Embedded Systems Development

Direction : Choose the best answer.


What domain deals with server configurations?

ANSWER: Back-end Development

Direction : Choose the best answer.


What web browser used the first versions of JavaScript?

ANSWER: Netscape Navigator

Direction : Choose the best answer.


Which is not a subdomain of Application Development?

ANSWER: UI Applications

Direction : Choose the best answer.

Which is not the file extension of Linux applications?

ANSWER: Not applicable

Signed, unsigned, long and short are some of the ___

ANSWER: Modifiers
Which one of the following represents the tab?

ANSWER: \t

Every variable should be separated by ___ separator.

ANSWER: Comma

___________ variable remain in memory unit the program ends :

ANSWER: Global

C++ is a ________ program that runs in a DOS window :

ANSWER: Console Application

Variable names must begin with ___


ANSWER: Letter

Which of the following is the correct syntax to print the message in C++ language?

ANSWER: cout <<"Hello world!";

Which operators have lower precedence to relational and arithmetic operators in c++ ?

ANSWER: Relational

Which of the following is the correct identifier?


ANSWER: VAR_123

What is a constant that contains a single character enclosed within single quotes in c++?

ANSWER: Character
It is a keyword used to call user-defined functions

ANSWER: CALL

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

ANSWER: Data

What is the equivalence of the flowchart DISPLAY in pseudocodes?

ANSWER: OUTPUT

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

ANSWER: Off-page Connector

What flowchart symbol is the equivalent for the pseudocode CALL keyword?

ANSWER: Process

It is one of the characteristics of problem solving in computer programming that deals with
the feasibility of the problem in terms of time.

ANSWER: Doable in a finite step

True or False:
Flowcharts can start with other symbol aside from a START terminator.
ANSWER: False

True or False:
There exists a multi-paged pseudocode.
ANSWER: True
It is a symbol with two and only two out-going paths possible.

ANSWER: Decision

True or False:
The two (2) pseudocode keywords that are the equivalent for the Data symbol in flowcharts
are INPUT and OUTPUT.
ANSWER: True

Which of the following is called insertion/put to operator?

ANSWER: <<

What is the correct value to return to the operating system upon the successful completion
of a program?

ANSWER: 0

Which of the following is not a fundamental type is not present in C but present in C++?
ANSWER: bool

Which of the following is the correct difference between cin and scanf()?

ANSWER: cin is a stream object whereas scanf() is a function

What is the only function all C++ programs must contain?

ANSWER: main()

What is the size of a Boolean variable in C++?

ANSWER: 1 bit
What punctuation is used to signal the beginning and end of code blocks?
ANSWER: {}

Which function is used to write a single character to console in C++?


ANSWER: cout.put(ch)

Which function is used to read a single character from the console in C++?
ANSWER: cin.get(ch)

What is a constant that contains a single character enclosed within single quotes?

ANSWER: Character

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

ANSWER: False

Overlapping arrows are _______________ in flowcharts.

ANSWER: Not Allowed

C++ Programming Language was designed by _______________.

ANSWER: Bjarne Stroustrup

A symbol used to identify which of the possible approaches will be taken based on the
conditions called _____________.

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

ANSWER: Temporary

_________________ is a graphical representation that shows a series of actions in computer


programming.

ANSWER: Flowchart

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

ANSWER: Data

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

ANSWER: Game

True or False:
The fragmentation of information when stored on a logical disk is called Sectoring.

ANSWER: False

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

ANSWER: Two/2

_______________ are created using word-processing applications.

ANSWER: Flowcharts

True or False:
An application is made to run for platforms.

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

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

ANSWER: Server

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

__________ keyword accepts user values.

ANSWER: INPUT

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

ANSWER: True

A storage of _________________ is called variables.

ANSWER: Values

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

ANSWER: True
James Gosling developed the ________ programming language.

ANSWER: Java

True or False:
Flowcharts are created using spreadsheet applications.

ANSWER: False

Terminator is always the _________ symbol that can be found at the top-most of all
flowcharts.

ANSWER: First

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

ANSWER: Run

The practical result involving more than one programming language is called
__________________.

ANSWER: Development

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.

ANSWER: False

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

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

ANSWER: True

The top most terminator uses ___________ arrow.

ANSWER: Out-going

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

ANSWER: False

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

ANSWER: False

Suppose the following code were executed. What would be the value of z?

ANSWER: 7
Suppose that the code segment in the box below were executed. What would be the value
of z?

ANSWER: 4

What is the output from each code segment below?

ANSWER: 23,23

What is the output from each code segment below?

ANSWER: 1,0
Suppose the following code were executed. What would be the value of z?

ANSWER: 9

These are fully-integrated software that contains various features dedicated to software
development.

ANSWER: Integrated Development Environment

Direction : Choose the best answer.


Usually ignored and not to be earnestly read before installing.
ANSWER: License agreement

Boolean use only one bit.

ANSWER: True

Implicit Variables are declared within the context of the application.

ANSWER: False

Direction : Choose the best answer.


It presents minimalistic approach in presenting tools and libraries necessary to develop
application for Microsoft Windows.
ANSWER: MinGW
Direction : Choose the best answer.
It is needed to be enabled to compile our selected compiled programming language to
executables.
ANSWER: IDE

-9 is treated as true.

ANSWER: False

These are the only data type to handle textual values.

ANSWER: Characters

Direction : Choose the best answer.

This will not need to reference MinGW compiler and libraries per project by inserting our newly
installed tools and utilities as Windows-searchable items.

ANSWER: Visual Studio

Converting long to int introduces naming problems.

ANSWER: False

Variables store any type of values.

ANSWER: False

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

ANSWER: Fields
Direction : Choose the best answer.

Open Source Community's most famous and most used online version control repository since
2016.

ANSWER: Github

What is needed to be downloaded for the convenience of users working different Microsoft
Windows Architecture?

ANSWER: Visual Studio Code

Direction : Choose the best answer.

They organize source codes and development artifacts.

ANSWER: IDE

Explicit Variables are declared outside the context of the application.

ANSWER: False

Direction : Choose the best answer.


It is a user-friendly interface and easy navigation operating system.
ANSWER: Microsoft Windows

This command prompt-like window that will help build fundamentals in computer
programming.

ANSWER: Console

Direction : Choose the best answer.


To test if you correctly performed the steps in configuring the Microsoft windows path what is
to be opened first?
ANSWER: Command prompt
These are limits placed to handle specific data.

ANSWER: Data Types

Explicit Variables are declared outside the context of the application.

ANSWER: False

These are temporary storage of data.

ANSWER: Variables

Anonymous Variables are labeled by the Computer.

ANSWER: True

This is the act of getting stored values from variables.

ANSWER: Retrieving

This is the act of saying we will be using a variable of a specific data type.

ANSWER: Declaring

These are declared variables.

ANSWER: Explicit Variables

Structures are part of Referenced Data Types.

ANSWER: False
Implicit Data Types can contain either integer or character.

ANSWER: True

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

ANSWER: Counter

Direction : True or False


A statement wherein the increment/decrement always occurs after the statements of the body is
called FOR statement.
ANSWER: True

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

ANSWER: Looping

Direction : True or False


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

Direction : True or False


A condition where it evaluated right before the body executes is called While Loop.

ANSWER: True

Direction : True or False


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

Direction : True or False


#include is the act of a function saying everything inside is belongs to it.

ANSWER: False
Direction : True or False
The Case Statement is part of IF Statement.

ANSWER: False

Direction : True or False


A variable is used to store permanent value in a program.

ANSWER: False

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

ANSWER: Conditionals

The act where it is declared inside of a specific code block and can only be access inside of the
said code block.

ANSWER: Local Variables

It is a phase in looping where the statements inside the loop are executed.

ANSWER: Body

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 "}".

ANSWER: False

Direction : True or False


The counters are separated by open and close parenthesis.

ANSWER: False
Direction : True or False
A statement where the body is executed first before the condition is evaluated is called do while
statement.
ANSWER: True

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

ANSWER: Code Blocks

Direction : True or False


Body is the phase in looping where it dictates whether the loop will start or continue.
ANSWER: False

Direction : True or False


The return EXIT_SUCCESS statement is used for closing remarks.

ANSWER: True

Direction : True or False


Is it possible for a constructor to have a same number of parameters?

ANSWER: False

It is the result of an incorrect action or operation.

ANSWER: Exception

In the discussion, what is the allocated size for a double data type?

ANSWER: 64 bits

These are the set of statements found inside the curly braces.

ANSWER: Body/Body of Code Blocks


Direction : True or False
variableName an alias used to remark an array.

ANSWER: True

Direction : True or False


A constructor is created to initialize several properties or perform operations for the class upon
declaration.
It is an abstract representation of objects.

It is an abstract representation of objects.

You might also like