intro to programming Flashcards

1
Q

A program that performs a task for a user (such as calculating and producing paychecks, word processing, or playing a game) is ________.

A

application software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A program that manages the computer itself (such as Windows or Linux) is

A

system software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The ____ determines the exact order of instructions needed to produce desired results.

A

logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

are languages that correspond closely to the computer’s circuitry and are not as easily read or understood.

A

LOW LEVEL PROGRAMMING LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Example of Low Level Programming Language

A

Assembly Language
Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

are languages that allows you to use English-like, easy-to-remember terms such as read, write, and add

A

HIGH LEVEL PROGRAMMING LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

There are 2 important paradigms in programming:

A

Procedural Programming
Object-Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

step-by-step process of instructions to tell the computer

A

Procedural Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

also referred to as imperative programming

A

Procedural Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

It is an approach on how to solve a problem.
It focuses on the OBJECT that the developers want to manipulate than the logic to manipulate it.

A

Object Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

the basic unit of the OOP.

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

something material that may be perceived by the senses (Merriam Webster)

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In technical terms, it component of a program that knows how to perform certain actions and how to interact with other elements of the program.

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

it tells the virtual machine on “how” to make an object of that particular type.

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

blueprint of an object

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

things that an object “knows” about itself.
other way of saying Object.

A

Instance Variable

17
Q

things that an object “do”

A

Methods

18
Q

The 4 Pillars of Object Oriented Programming

A

Encapsulation

Abstraction

Inheritance

Polymorphism

19
Q

bundling up data and member function (Method) together into a single unit

it can only be achieve if there is PRIVATE variable in a class and the other classes has no access to the variable and can be access through class method.

it is mostly use for security purposes.

sometimes called “information hiding”

A

Encapsulation

20
Q

is the process of showing only essential features of an object to the outside world and hide the other irrelevant information

it works together with Encapsulation

A

Abstraction

21
Q

ability to create classes (subclass) that shares the attributes and methods of the existing classes (parent class), but with more specific functions.

A

Inheritance

22
Q

Types of Class Inheritance in Java

A

Single Inheritance - parent and child
Multi-level inheritance - grandparent-parent-child
Heirarchical Inheritance

23
Q

having many forms.

a single line of code (method) can have multiple meanings, and which meaning is to be used depends upon various factors.

A

Polymorphism

24
Q

Types of Polymorphism in Java

A

Method Overriding - having two methods with the same method name and parameters.

Method Overloading - when two or more methods in one class have the same method name but different parameters.