Follow and like us on our Facebook page where we post on the new release subject and answering tips and tricks to help save your time so that you can never feel stuck again.
Shortcut

Ctrl + F is the shortcut in your browser or operating system that allows you to find words or questions quickly.

Ctrl + Tab to move to the next tab to the right and Ctrl + Shift + Tab to move to the next tab to the left.

On a phone or tablet, tap the menu icon in the upper-right corner of the window; Select "Find in Page" to search a question.

Share Us

Sharing is Caring

It's the biggest motivation to help us to make the site better by sharing this to your friends or classmates.

Programming Logic and Design

Programming Logic and Design course teaches the fundamental concepts of programming, including problem-solving strategies, algorithms, and logic structures.

problem-solving

logic

algorithm

flowchart

syntax

control structures

data types

variables

debugging

modularization

abstraction

encapsulation

inheritance

polymorphism

recursion

These are the characteristics that define an object as part of a class.

  • state
  • field
  • attribute
  • class

It contain two alternatives when the action taken and tested condition is true and the action taken when it is false.

  • duo-alternative loop
  • dual-alteration ifs
  • dual-alternative structure
  • dual-alternative ifs

These are data items that had been processed.

  • Output
  • Secondary storage
  • Input
  • Main memory

While loop tests the condition before executing the loop body.

  • True
  • False

Boolean expressions can be used as the condition in an “if” statement.

  • True
  • False

A good pilot sets the stage for ongoing checking.

  • True
  • False

Characters was made up of smaller elements called as?

  • bits
  • object
  • binary
  • property

Statement that provides a data type and an identifier for a variable.

  • Flowchart
  • Declaration
  • Identifier
  • Pseudocode

Program is said to be more efficient, if it takes less space and easily changed to human language.

  • True
  • False

Each file doesn't require a name.

  • True
  • False

Same as if-else, the difference have another if-else inside main if-else.

  • Switch case
  • If-Then
  • If-Else
  • Nested-If

It tells you which modules exist within a program and which modules call others.

  • Documentation
  • Planning Tool
  • Variable
  • Hierarchy chart

Each file has specific times associated with it.

  • True
  • False

It describes a group or collection of objects with common attributes.

  • object
  • field
  • class
  • state

Which of the following is an advantage of OOP?

  • Sudden learning curve
  • Could produce slower programs
  • Improved software maintainability
  • Could lead to larger program sizes

It contains a series of wireframes that represent a user’s experience with the proposed software.

  • GUI
  • Storyboard
  • Event-driven
  • OOP

A picture or sketch of a screen the user will see when running a program.

  • Logic
  • GUI
  • Wireframe
  • Storyboard

It is a logically jumbled program statements.

  • Spaghetti code
  • Structured programs
  • Sequence structure
  • Source code

Is a convention of naming a variable in which the first letter of a variable name is uppercase.

  • Pascal casing
  • Camel casing
  • Hungarian notation
  • None of the above

Variables are named memory locations whose contents can vary or differ over time.

  • True
  • False

This means that if a program had established for a specific task, then it should been used for all comparable tasks of the same area.

  • Maintainability
  • Efficient
  • Documentation
  • Generality

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

  • Perl
  • Fortran
  • COBOL
  • Emerald

It is the adjective that describes the type of access.

  • Access specifier
  • Encapsulation
  • Private access
  • Data hiding

Each file occupies space on a section of a storage device.

  • True
  • False

Modern operating system software does not have GUI.

  • True
  • False

These are groups of fields that composed for some logical reason.

  • Characters
  • Records
  • Directory
  • Files

Rambling through your program’s logic on paper.

  • Subtasking
  • Program comment
  • Program coding
  • Desk checking

This is a procedure that an organization uses to develop a program.

  • Program development
  • Program evaluation
  • Program testing
  • program design

Stipulates the underlying assumptions of the program.

  • Theory of change
  • Theory of design
  • Theory of plan
  • Theory of Code

Unnamed constants do not have identifiers like variables do.

  • True
  • False

Every programming language has guidelines leading its word usage and punctuation.

  • True
  • False

Programming Language

  • Program Code

This is a formless programs and it do not follow the rules of structured logic.

  • Spaghetti code
  • Sequence Structure
  • Selection Stucture
  • Loop Structure

It can inherit all its superclass attributes & methods.

  • method
  • attribute
  • object
  • subclass

It repeats a statement or group of statements while a given condition is true.

  • Nested Loop
  • Do-While Loop
  • While loop
  • For loop

He is considered one of the founders of modern computer science, as his work underpins the way in which modern computers process binary data.

  • Marc Ams
  • George Boole
  • Bill Gates
  • Charles Darwin

Output device

  • Printer

It is a convention way of naming a variable in which the variable starts with a lowercase letter and any subsequent word begins with an uppercase letter.

  • Hungarian notation
  • Pascal casing
  • Camel casing
  • Literal notation

It is the procedure of fixing program errors and refining the program.

  • Portability
  • Maintainability
  • Structural
  • Readability

What is the first high-level programming language?

  • FORTRAN
  • AMS
  • BASIC
  • COBOL

It is a sequence or list of values in computer memory.

  • Loop
  • Array
  • Control
  • Statement

It repeat actions based on answer to a question.

  • Loop
  • Sequence
  • Decison
  • Selection
  • Question 5
  • Answer saved
  • Marked out of 1.00
  • FlaggedFlaggedRemove flag

One of the disadvantages of OOP is it could produce slower programs.

  • True
  • False

Processing Device

  • Central Processing Unit

Organization units on storage devices.

  • Property and attribute
  • Directories and folders
  • Files and records
  • Class and object

An array is a derived data type.

  • True
  • False

Internal Storage Device

  • Random Access memory

Java was created by Microsoft.

  • True
  • False

Writes a set of data value to a file

  • fprint()

Reads a set of data value from a file

  • _fscanf()

Object attributes often are called fields.

  • True
  • False

An object that is “interested in” an event to which you want it to respond to.

  • programmer
  • listener
  • artist
  • client

A specific numeric value is often called a numeric constant.

  • True
  • False

Subscript is also called an entity.

  • True
  • False

A binary file is also referred to as a character stream.

  • True
  • False

It is simply a group of data types.

  • Condition
  • Array
  • Looping
  • Statement

Placing the mouse pointer over an area on the screen

  • Mouse over

It clearly show where the structure ends in a selection structure.

  • if
  • then
  • endif
  • else

“==“ is used for testing to see if two values are identical.

  • True
  • False

All of the tangible, physical devices, or components, that a computer is made of.

  • Source code
  • Program Code
  • Hardware
  • Software

Common Business-Oriented Language was created in the 1950s, and was designed for business applications.

  • FORTRAN
  • BASIC
  • Pascal
  • COBOL

String values do not contain characters as well as numbers and other characters.

  • True
  • False

A file is identified by its name.

  • True
  • False

When methods have public access, other programs and methods may use the methods to get access to the private data.

  • True
  • False

Literal string constant are string of characters enclosed within a?

  • Number sign
  • Quotation marks
  • Question mark
  • Semicolon

A Text file is processed only in backward direction.

  • True
  • False

GUI programs frequently are called event-driven or event-based.

  • True
  • False

Is a convention of naming a variable in which a variable’s data type is part of the identifier—for example, numMyNumber or stringLastName.

  • Pascal casing
  • Camel casing
  • Hungarian notation
  • Variable notation

Specific module may be called from several locations outside the program.

  • True
  • False

When you store a numeric value in computer memory, additional characters such as dollar signs and commas are not input or stored.

  • True
  • False

The syntax used to make program comments varies among programming languages.

  • True
  • False

A loop can comprise any number of tasks, but there is no option to branch off and skip any of the tasks.

  • True
  • False

An action performed by an object.

  • field
  • class
  • attribute
  • method

Shows the overall picture of how modules are related to one another.

  • Data Type
  • Pseudocode
  • Flowchart
  • Hierarchy chart

It is a basic unit of programming logic.

  • Iteration
  • Language
  • Decision
  • Structure

A rectangular object you can click

  • Button

This means trying to prepare for all possible errors before they occur.

  • Alternative programming
  • Aggressive programming
  • Minimum programming
  • Defensive programming

Modern operating system software allows use of mouse or other pointing device to select icons.

  • True
  • False

String values are also called?

  • Alphanumeric notation
  • Alphabet values
  • Alphanumeric values
  • Letter values

Boolean Expressions was named after him.

  • GEORGE BOOLE

It is the variable's name.

  • Identifier
  • Garbage
  • Data Type
  • Flowchart

Reads a character from a file

  • get()

It describes data that are non-numeric.

  • Literal
  • Variable
  • Constant
  • String

Which of the following is an example computer software?

  • Printer
  • Hard Disk
  • Operating system
  • USB

A way of organizing classes.

  • Inheritance
  • Encapsulation
  • Abstraction
  • Polymorphism

It include all the text, numbers, and other information that are process by a computer.

  • String
  • Data item
  • Variable
  • Constant

These are programs, which are instruction sets transcribed by programmers.

  • Peopleware
  • Software
  • Hardware
  • Adware

These are written explanations that are not part of the program logic.

  • Program Variables
  • Program Comments
  • Program Design
  • Program Module

External Storage Device

  • Flash drive

Holding down the left mouse button while moving the mouse over the desk surface

  • Mouse drag

It is processed only in forward direction.

  • Text File
  • Record
  • Extension
  • File Stream

Closes a file which has been opened for use

  • fclose()

Beginners All-purpose Symbolic Instruction Code is a general-purpose language that was originally plan in the early 1960s to be simple enough for beginners to learn

  • Pascal
  • COBOL
  • FORTRAN
  • BASIC

In order to fix the needs of a precise target population, meet and analyze data taken from different sources in a organized way, looking at the needs of the population and the current programs in order to regulate whether there are gaps.

  • True
  • False

A rectangular area that displays text

  • List box

It is a sequence of instructions that is constantly repeated until a certain condition is reached.

  • Decision
  • Array
  • Loop
  • Control

Evaluates as true when the left operand is greater than the right operand.

  • >
  • <
  • >=
  • <=

A variable which represent the list of items using two index.

  • One-dimensional arrays
  • Two-dimensional arrays
  • Multi-dimensional arrays
  • None of the above

These are mistakes in a language’s usage.

  • Computer virus
  • Bugs
  • Source code
  • Syntax Error

Abstraction is a design principle.

  • True
  • False

An expression whose value can be only true or false.

  • Sequence Structured
  • Looping Structured
  • Boolean expression
  • Relational

What is the most vital component in a computer?

  • Central processing unit
  • Output devices
  • Main Memory
  • Input devices

Instead of using binary numbers for instructions, assembly language practices short words that are identified as?

  • mnemonics
  • variable
  • code
  • syntax

Today, CPUs are small chips known as?

  • Floppy disk
  • Microprocessors
  • Random-access memory
  • Memory stick

Writes an integer to a file

  • putw()

A constant that represents the array size had automatically provided for each array you create.

  • True
  • False

Selection structure is also called as decision structure.

  • Select one:
  • True
  • False

Pseudocode that describes a selection structure must start with if.

  • True
  • False

Computers can only perform programs that are written in human language.

  • True
  • False

Each key word in high level programming language has a specific meaning, and cannot be used for any other purpose.

  • True
  • False

Structure 1

  • Repetition
  • Sequence
  • Selection
  • Loop

In OOP, polymorphisms is not a technical issue and principle.

  • True
  • False

For loop tests the condition at the end of the loop body.

  • True
  • False

Paint is an example of GUI application that contains button and icons.

  • True
  • False

You can use one or more loop inside any another loop.

  • For loop
  • While loop
  • Do-while loop
  • Nested loop

When you assert an array, you declare a structure that contains multiple data items.

  • True
  • False

A program has said to be more portable, if it is adopt easily in different computer systems.

  • True
  • False

It is an arrangement of all the components essential to process and store data using a computer?

  • Computer hardware
  • Computer system
  • Computer program
  • Computer software

Two or more questions in a single comparison.

  • Conditional OR operator
  • Conditional ELSE operator
  • Conditional AND operator
  • Conditional IF operator

Which of the following is an example of a Hybrid Object-Oriented Languages?

  • Emerald
  • Obix
  • Java
  • Ruby

It consists of sequence of characters.

  • Data Stream
  • Text Stream
  • File Stream
  • Binary Stream

It stores data by magnetically encoding it onto a circular disk.

  • Disk drive
  • USB drive
  • Flash drive
  • Compiler

It is a characteristics of certain object.

  • attribute
  • method
  • class
  • object

Documentation is one of the most vital components of an application development.

  • True
  • False

In early days of computing , it is the Command line entry.

  • Event-based
  • GUI
  • Object-Oriented
  • DOS prompt

It describes the file type.

  • Stream
  • Extension
  • File name
  • Text File

It represent “snapshot” views of the screens the user will encounter during the run of a program.

  • GUI Storyboard
  • Source
  • Wireframe
  • Object

Numeric variable holds text.

  • True
  • False

Unnamed constant and the purpose is not immediately apparent.

  • String
  • Magic number
  • Named constant
  • Numeric

It was created in the early days of computing as an alternative to machine language.

  • Assembly language
  • Computer language
  • Human language
  • Program language

Named constant can be assigned a value only once.

  • True
  • False

Open new existing file for use

  • _fopen()

Application Software

  • Spreadsheet

Gives the current position in the file

  • ftell()

Is the process of removing characteristics from something in order to reduce it to a set of essential characteristics.

  • Polymorphism
  • Inheritance
  • Abstraction
  • Encapsulation

Primarily used for non-textual data, which is required to keep exact contents of the file.

  • Text File
  • Directory
  • Binary stream
  • File Name

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

  • Check box

It means the ability to request that the same methods be performed by a wide range of different types of things.

  • Abstraction
  • Polymorphism
  • Encapsulation
  • Inheritance

One of the reasons to do program design and development is you want to make certain that there is truly a need for the program.

  • True
  • False

Each data item is one element of the array.

  • True
  • False

It is the concept that other classes should not alter an object’s attributes.

  • Encapsulation
  • Polymorphism
  • Inheritance
  • Information hiding

This serve as citations or reminder for readers of the program.

  • Program language
  • Program comment
  • Program code
  • Program variable

The compiler or an interpreter translate your source code into machine language.

  • True
  • False

Machine language is also called binary language.

  • True
  • False

A precise set of inter-connected activities provided.

  • Program components
  • Program result
  • Program design
  • Program testing

Programmers refer to looping as repetition or?

  • Iteration
  • Modification
  • Cycle
  • Redundant

Programs often work but are difficult to read and maintain.

  • Spaghetti code
  • Unstructured programs
  • Sequence Structure
  • Structured programs

These are are letters, numbers, and special symbols.

  • Files
  • Records
  • Characters
  • Fields

It includes all the programs you apply to a task, such as word processing programs.

  • Application software
  • Source code
  • Program code
  • System software

It is also called a page schematic or screen blueprint.

  • GUI
  • Storyboard
  • Wireframe
  • Event-driven

Which of the following are the reasons why we need a structured program?

  • Market Value
  • Efficiency
  • Reliable
  • Tasking
  • Clarity

To improve a program, the task must be broken down into a number?

  • End user
  • Entity
  • Comment
  • Subtasks

It is also known as memory sticks and flash drives.

  • Hard Disk
  • External drive
  • Floppy disk
  • USB drives

It follow rules of structured logic.

  • Structured programs
  • Selection Structure
  • Spaghetti code
  • Unstructured programs

All objects can receive all events.

  • True
  • False

GUI users can select options from menus and click buttons to make their inclinations known to a program.

  • True
  • False

Pressing the right mouse button

  • Right mouse click

It is characterized as a series of 0s and 1s.

  • Source Code
  • Binary Language
  • Syntax
  • Human Language

Floating-point numbers are also called as?

  • Real numbers
  • Whole numbers
  • Fractional numbers
  • Decimal numbers

This language was created by Microsoft around the year 2000 for developing applications based on the Microsoft .NET platform.

  • C#
  • C++
  • C
  • Turbo C

It performs a specialized task that enhances the computer’s operation or safeguards data.

  • Operating system
  • Application program
  • Main memory
  • Utility program

It is a collection of data stored on a nonvolatile device in a computer.

  • Computer data
  • Computer files
  • Storage device
  • Directories

GUI programs frequently are called as?

  • object-oriented
  • event-driven
  • event-class
  • graphic-based

Which of the following is a computer hardware devices?

  • Game App
  • Virus
  • Monitor
  • Bugs

When the user clicks it, a menu of items appears.

  • Option buttons

No branching or skipping any task

  • Selection
  • Decision
  • Repetition
  • Sequence

It is measure by how a software application was been transferred from one computer environment to another without failure.

  • Flexibility
  • Maintainability
  • Readability
  • Portability

Polymorphisms is a generic term that means 'many shapes'.

  • True
  • False

Use “>=“ tests to see if a value is less than OR equal to another.

  • True
  • False

It contains developing the program on a small scale so you can gauge the level of readiness to deliver the program.

  • Programming
  • Researching
  • Modeling
  • Piloting

It indicates the number of elements an array will hold.

  • Index
  • Condition
  • Size
  • Value

Lines of text also are called as?

  • File
  • Characters
  • Records
  • Data

This is a collection of bytes stored on a secondary storage device.

  • Field
  • Record
  • Data
  • File

System Software

  • Windows

It is a multiple alternative decision structure.

  • Switch case
  • Nested If
  • If-else
  • If-Then

What do you call the instructions you write by means of a programming languages?

  • Compiler
  • Program code
  • Interpreter
  • Syntax

It describes the relationships between data components.

  • computer files
  • data hierarchy
  • declaring a file
  • writing data

Which of the following is NOT TRUE about String?

  • Special characters such as punctuation marks
  • Letters of the alphabet
  • Can hold text
  • Can perform mathematical operations on it

When a CPU performs the instructions in a program, it is engaged in a process that is known as the?

  • file-encode-execute cycle
  • forward-decode-endorse cycle
  • first-decode-end cycle
  • fetch-decode-execute cycle

These are groups of related records.

  • Fields
  • Files
  • Characters
  • Directory

A variable which represent the list of items using more than two index (subscript) is called multi-dimensional array.

  • True
  • False

GUI means?

  • Graphics Unbiased Interplay
  • Graphical User Incorporation
  • Graphics User Interconnection
  • Graphical User Interface

Evaluates as true when the left operand is less than or equivalent to the right operand.

  • <
  • <=
  • >
  • >=

These are the programs that people normally spend most of their time running on their computers, example is word processing program.

  • Utility program
  • System Software
  • Operating system
  • Application Software

Declaring a starting value is known as?

  • Initializing the variable
  • Evaluating the variable
  • Declaring the variable
  • Planning the variable

A binary file can be a collection of characters that a computer can process sequentially.

  • True
  • False

Group of statements that execute as a single unit.

  • Loop
  • Stacking
  • Block
  • Nesting

It is a characteristics of a good computer program that it adopts easily in different computer systems.

  • Maintainability
  • Portability
  • Flexibility
  • Readability

It generates a message sent to an object.

  • event
  • procedure
  • class
  • method

Input Device

  • Keyboard

Pressing the left mouse button two times in rapid sequence

  • Mouse double-click

Variable’s unknown value before initialization.

  • Variable
  • Garbage
  • Identifier
  • Initialization

A decision in which two conditions must be true for an action to take place.

  • IF THEN decision
  • IF ELSE decision
  • AND decision
  • OR decision

A program design must not include the budget and cost of the program.

  • True
  • False

Event-driven programs are more flexible than procedural counterparts.

  • True
  • False

A class is like a blueprint.

  • True
  • False

Thousands of bytes

  • megabytes
  • kilobytes
  • gigabytes
  • none of the above

It is also called binary language.

  • Source code
  • Machine Language
  • Interpreter
  • Syntax Error

When you input data items into a computer, they are stored in variables in memory where they can be processed and converted to information that is a/an?

  • Output
  • Programming language
  • Literal constant
  • Storage device

In a boolean expression, use “<=“ if you want to test if two values are different.

  • True
  • False

Pressing the left mouse button

  • Mouse click

These are list of instructions that cause the CPU to function operations.

  • Memory
  • Program
  • Application
  • Software

2

  • Switch Case
  • If-Else
  • Nested-If
  • If-Then

The component that collects the data and sends it to the computer.

  • Secondary storage
  • Input devices
  • Output devices
  • Main memory

Attaching structures end-to-end

  • End-structure statements
  • Stacking
  • Spaghetti code
  • Looping

It contains data that was not been encoded as text

  • Computer files
  • Computer data
  • Text files
  • Binary files

Sets the position to the beginning of the file

  • rewind()

ALL Boolean expressions boil down to “True” or “False”.

  • True
  • False

It contains data that can be read in a text editor.

  • Directory files
  • Digital files
  • Text files
  • Binary files

It is a volatile type of memory that is used only for temporary storage while a program is running.

  • CPU
  • USB
  • ROM
  • RAM

The set of all the values or contents of an object’s instance variables are known as?

  • object
  • field
  • state
  • class

All array elements have the same group name, but each individual element also has a unique subscript.

  • True
  • False
Comments