Programming Logic and Design Final Exam PDF

You might also like

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

Programming Logic and Design

Final Exam
By: Enrile, Mark
It describes the relationships between data components.
Select one:

a.

writing data

b.

declaring a file

c.

computer files

d.

data hierarchy
Feedback
Your answer is correct.

Question 2
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It contains data that can be read in a text editor.
Select one:

a.

Binary files
b.

Digital files

c.

Text files

d.

Directory files
Feedback
Your answer is correct.

Question 3
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It describes the file type.
Select one:

a.

Stream

b.

File name

c.

Text File

d.

Extension
Feedback
Your answer is correct.

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Lines of text also are called as?
Select one:

a.

File

b.

Characters

c.

Records

d.

Data
Feedback
Your answer is correct.

Question 5
Correct

Mark 1.00 out of 1.00

Flag question

Question text
An action performed by an object.
Select one:

a.

class

b.
method

c.

attribute

d.

field
Feedback
Your answer is correct.

Question 6
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It describes a group or collection of objects with common attributes.
Select one:

a.

state

b.

field

c.

class

d.

object
Feedback
Your answer is correct.

Question 7
Correct

Mark 8.00 out of 8.00


Flag question

Question text
Match the following:
Usage of File Management functions
fscanf()
Reads a set of data value from a file Answer 1

putw ()
Writes an integer to a file Answer 2

fclose()
Closes a file which has been opened for use Answer 3

fprint()
Writes a set of data value to a file Answer 4

ftell()
Gives the current position in the file Answer 5

fopen()
Open new existing file for use Answer 6

rew ind()
Sets the position to the beginning of the file Answer 7

get()
Reads a character from a file Answer 8

Feedback
Your answer is correct.

Question 8
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is an example of a Pure Object-Oriented Languages?

Select one:

a.

Emerald
b.

Perl

c.

Fortran

d.

COBOL
Feedback
Your answer is correct.

Question 9
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is an example of a Hybrid Object-Oriented Languages?
Select one:

a.

Ruby

b.

Obix

c.

Java

d.

Emerald
Feedback
Your answer is correct.

Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is a characteristics of certain object.
Select one:

a.

attribute

b.

method

c.

class

d.

object
Feedback
Your answer is correct.

Question 11
Correct

Mark 1.00 out of 1.00

Flag question

Question text
A way of organizing classes.
Select one:

a.

Encapsulation

b.
Polymorphism

c.

Abstraction

d.

Inheritance
Feedback
Your answer is correct.

Question 12
Correct

Mark 1.00 out of 1.00

Flag question

Question text
In OOP, polymorphisms is not a technical issue and principle.
Select one:

True

False

Question 13
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is an advantage of OOP?
Select one:

a.

Could produce slower programs


b.

Improved software maintainability

c.

Sudden learning curve

d.

Could lead to larger program sizes


Feedback
Your answer is correct.

Question 14
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Thousands of bytes
Select one:

a.

megabytes

b.

kilobytes

c.

gigabytes

d.

none of the above

Feedback
Your answer is correct.

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Organization units on storage devices.
Select one:

a.

Files and records

b.

Directories and folders

c.

Class and object

d.

Property and attribute


Feedback
Your answer is correct.

Question 16
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Characters was made up of smaller elements called as?
Select one:

a.

property

b.
object

c.

bits

d.

binary
Feedback
Your answer is correct.

Question 17
Partially correct

Mark 3.00 out of 4.00

Flag question

Question text
Match the following:
Common GUI components
Answer 1
A rectangular area that displays text Label

Answer 2
When the user clicks it, a menu of items appears. Option buttons

Answer 3
A rectangular object you can click Button

Answer 4
A label placed beside a small square; you can click the square to
Check box
display or remove a check mark

Feedback
Your answer is partially correct.

You have correctly selected 3.

Question 18
Correct

Mark 1.00 out of 1.00


Flag question

Question text
Paint is an example of GUI application that contains button and icons.
Select one:

True

False

Question 19
Correct

Mark 1.00 out of 1.00

Flag question

Question text
All objects can receive all events.
Select one:

True

False

Question 20
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It is also called a page schematic or screen blueprint.
Select one:
a.

Wireframe

b.

Storyboard

c.

GUI

d.

Event-driven
Feedback
Your answer is correct.

Question 21
Correct

Mark 1.00 out of 1.00

Flag question

Question text
In early days of computing , it is the Command line entry.
Select one:

a.

GUI

b.

Object-Oriented

c.

DOS prompt

d.

Event-based
Feedback
Your answer is correct.
Question 22
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It contains a series of wireframes that represent a user’s experience with the proposed
software.
Select one:

a.

OOP

b.

Storyboard

c.

Event-driven

d.

GUI
Feedback
Your answer is correct.

Question 23
Correct

Mark 1.00 out of 1.00

Flag question

Question text
These are groups of related records.
Select one:

a.
Characters

b.

Fields

c.

Directory

d.

Files
Feedback
Your answer is correct.

Question 24
Correct

Mark 1.00 out of 1.00

Flag question

Question text
GUI programs frequently are called as?
Select one:

a.

event-class

b.

object-oriented

c.

graphic-based

d.

event-driven
Feedback
Your answer is correct.
Question 25
Correct

Mark 1.00 out of 1.00

Flag question

Question text
These are the characteristics that define an object as part of a class.
Select one:

a.

field

b.

class

c.

attribute

d.

state
Feedback
Your answer is correct.

Question 26
Correct

Mark 1.00 out of 1.00

Flag question

Question text
The set of all the values or contents of an object’s instance variables are known as?
Select one:

a.
class

b.

object

c.

state

d.

field

Feedback
Your answer is correct.

Question 27
Correct

Mark 1.00 out of 1.00

Flag question

Question text
It represent “snapshot” views of the screens the user will encounter during the run of a
program.
Select one:

a.

GUI Storyboard

b.

Wireframe

c.

Source

d.

Object

Feedback
Your answer is correct.
Question 28
Correct

Mark 5.00 out of 5.00

Flag question

Question text
Match the following:
Common user-initiated events
Answer 1
Pressing the right mouse button Right mouse click

Answer 2
Pressing the left mouse button Mouse click

Answer 3
Placing the mouse pointer over an area on the screen Mouse over

Answer 4
Holding down the left mouse button while moving the mouse
Mouse drag
over the desk surface

Answer 5
Pressing the left mouse button two times in rapid sequence Mouse double-click

Feedback
Your answer is correct.

Question 29
Correct

Mark 1.00 out of 1.00

Flag question

Question text
A file is identified by its name.
Select one:

True
False

Question 30
Correct

Mark 1.00 out of 1.00

Flag question

Question text
A Text file is processed only in backward direction.
Select one:

True

False

Question 31
Correct

Mark 1.00 out of 1.00

Flag question

Question text
A class is like a blueprint.
Select one:

True

False

Question 32
Correct

Mark 1.00 out of 1.00

Flag question
Question text
GUI programs frequently are called event-driven or event-based.
Select one:

True

False

Question 33
Correct

Mark 1.00 out of 1.00

Flag question

Question text
GUI users can select options from menus and click buttons to make their inclinations known
to a program.
Select one:

True

False

Question 34
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Modern operating system software does not have GUI.
Select one:

True

False
Question 35
Correct

Mark 1.00 out of 1.00

Flag question

Question text
Event-driven programs are more flexible than procedural counterparts.
Select one:

True

False

Question 36
Correct

Mark 1.00 out of 1.00

Flag question

Question text
GUI means?
Select one:

a.

Graphics Unbiased Interplay

b.

Graphics User Interconnection

c.

Graphical User Interface

d.

Graphical User Incorporation

You might also like