OOP Flashcards

1
Q

initiated the Java language project in June 1991

A

James Gosling, Mike Sheridan, and Patrick Naughton

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

Java two types of programs

A

applications and applets

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

Data types

A

Integer (Numbers)
String (Words, Letters)
Float (Decimals (6-7))
Character (Specific Character)
Double (Decimals (15))
Boolean (True or False)

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

helpful to take aclassor all classes visible for a program specified under apackage, with the help of a single statement

A

Importstatement

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

By using this, we can access data members or member functions of a class directly without the use of a fully-qualified name.

A

static import statements

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

tells the compiler the path of a class or the entire package.

A

import statement

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

This method tells the compiler that the class is defined under a particular package, and we want to use that class or classes in our program.

A

Fully-qualified Name

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

a block of code that, when called, performs specific actions mentioned in it.

A

method

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

It is used to define the access type of the method.

A

Access Specifier

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

Public: You can access it from any class

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

Private: You can access it within the class where it is defined

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

Protected: Accessible only in the same package or other subclasses in another package

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

specifier used by the Java compiler if we don’t mention any other specifiers. It is accessible only from the package where it is declared

A

Default

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

It is used to give a unique name to the method.

A

Method name

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

It is a list of arguments (data type and variable name) that will be used in the method.

A

Parameter list

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

This is the set of instructions enclosed within curly brackets that the method will perform.

A

Method body

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

It defines the return type of the method

A

ReturnType

18
Q

The first device known to carry out calculations.

19
Q

French philosopher and mathematician who invented the calculating device called the Pascaline.

A

Blaise Pascal

20
Q

English mathematician and physical scientist, designed two calculating machines—the difference engine and the analytical engine.

A

Charles Babbage

21
Q

The first computer-like machine.

22
Q

Built at the University of Pennsylvania. It contained 18,000 vacuum tubes and weighed some 30 tons.

A

ENIAC
(Electronic Numerical
Integrator and Calculator)

23
Q

Built and sold to the U.S. Census Bureau.

A

UNIVAC
(Universal Automatic Computer)

24
Q

Two early programming languages.

A

FORTRAN and COBOL

25
IBM introduced it in the year 1981.
PC (Personal Computer)
26
Designed and built the first Apple computer in their garage.
Stephen Wozniak and Steven Jobs
27
Most handheld device has its GPS to locate locations.
GPS (Global Positioning Satellites)
28
is an electronic device capable of performing commands.
computer
29
two main components of a computer system
hardware and software
30
the ‘‘brain’’ of the computer and the single most expensive piece of hardware in a computer.
The central processing unit (CPU) i
31
connected directly to the CPU
(RAM)
32
consists of programs written to perform specific tasks.
Software
33
two types of programs
System programs and application programs.
34
The system program that loads first when you turn on your PC is called
operating system
35
perform specific tasks.
Application programs
36
There are two types of electrical signals:
analog and digital
37
continuous waveforms used to represent things, such as sound.
Analog signals
38
represent information with a sequence of 0s and 1s.
Digital signals
39
The digit 0 or 1 is called
binary digit, or bit.
40
A program that translates a program written in assembly language into an equivalent program in machine language.
Assembler