comp Flashcards

1
Q

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

A

application software

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

What is a system software?

A

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

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

It 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

What are the two types of programming?

A

Low Level Programming Language and HIGH LEVEL PROGRAMMING LANGUAGE

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

What is Low Level Programming Language?

A

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

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

what is HIGH LEVEL PROGRAMMING LANGUAGE?

A

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

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

give the two 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
8
Q

What are the 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
9
Q
  • step-by-step process of instructions to tell the
    computer
  • it relies on Procedures, Routines, or sub-routines
  • also referred to as imperative programming
  • also known as Top-Down Languages
  • Example: C, COBOL, FORTRAN
A

the procedural programming

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

What is Object Oriented Programming?

A
  • 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.
  • Example: Java & C++
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

It is the the basic unit of the OOP. 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
12
Q

component of a program

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • blueprint of an object
  • 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
14
Q

things that an object “knows” about itself.

other way of saying Object.

A

instance variable

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

what are methods

A

things that an object “do”

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

give the 4 Pillars of Object Oriented Programming

A

The 4 Pillars of Object Oriented Programming
* Encapsulation
* Abstraction
* Inheritance
* Polymorphism

17
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

18
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

19
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

20
Q

Types of Class Inheritance in Java

A
  • Single Inheritance - parent and child
  • Multi-level inheritance - grandparent-parent-child
  • Heirarchical Inheritance
21
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

22
Q

Types of Polymorphism in Java

A

Method Overriding
Method Overloading

23
Q

having two methods with the same method name and parameters.

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

A

Method Overriding
Method Overloading

23
Q

the computer language innovation and development occur for two fundamental reasons:

A
  • To adapt to changing environments and uses
  • To implement refinements and improvements in the art of
    programming
24
Q

T or F
Instead of pointers, Java uses the concept of references.

A

T

25
Q

T or F
Migrating to Java would be very hard.

A

F

26
Q

Instead of pointers, Java uses the concept of ?

A

references