Integrative Programming Flashcards

Pre-Final Exam (25 cards)

1
Q

A group of statement that accomplishes a specific task.

A

method

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

Determines the access level or visibility of the method from another class.

A

access_modifier

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

Defines that the method can only be called i the class where it is declared.

A

private

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

Defines that the method is accessible by all other classes in your application.

A

Public

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

Specifies whether the method returns a value or not.

A

return_type

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

data type of the value that
the method should return using this keyword.

A

return

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

If a method should return an integer value.

A

int

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

If the method is not returning any values.

A

void

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

An identifier and is case sensitive.

A

MethodName

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

Refers to the required type, order, and number of the parameters of a method.

A

parameter list

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

Are use to pass and receive date from a method.

A

Parameters

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

Contains a set of statements that performs the specific task of the method.

A

method body

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

Methods are declared within a class or structure by specifying the access level. and any method parameters

A

method signatures

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

Methods are invoked by typing the method name followed by parentheses. The required values, if any, are enclosed within the parentheses.

A

arguments

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

Methods of the same name can be declared in the same class as long as they have different sets of parameters.

A

method overloading

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

Used to make a single variable that holds related data of various data types.

17
Q

They keyword used for creating a structure.

18
Q

A data structure or a blueprint that defines data and actions in a single unit.

19
Q

A class defines dynamically created instances also known as ____.

20
Q

Instances of classes are created using this keyword.

21
Q

The process of hiding data from the outside world.

A

Encapsulation

22
Q

This keyword refers to the object or the current instance of the class.

23
Q

A special method where its name is the same as the name of its type.

24
Q

Provides a logical grouping to organize related classes, structures, interfaces, and other types.

25
The members of a namespace can be accessed using this keyword and must appear at the top of the program.
using