Search Header Logo
3.0 Introduction to Java

3.0 Introduction to Java

Assessment

Presentation

•

Computers

•

University

•

Easy

Created by

SITI BM

Used 3+ times

FREE Resource

31 Slides • 20 Questions

1

media

2

media

3

media

4

media

5

Multiple Choice

Computers can solve any problem that can be computationally solved.

1

TRUE

2

FALSE

6

Multiple Choice

What is the best definition of an algorithm?

1

step-by-step problem-solving process in which a solution is arrived at in a finite amount of time.

2

step by step problem solution by using informal language

3

step by step instructions to transform input into output in a graphical representation

4

is a step-by-step instructions that will transform the output into the input

7

Multiple Choice

What does parallelogram shape represent in flowchart?

1

Start/Stop

2

Decision

3

Process

4

Input/Output

8

Multiple Choice

What is the correct symbol for a process in a flowchart?

1

A diamond

2

A square

3

A parallelogram

4

 A rectangle

9

Multiple Choice

The decision carried out in computer systems is represented by _______________ in flowchart.

1

A diamond

2

A square

3

A parallelogram

4

 A rectangle

10

Multiple Choice

What links each instruction in a flowchart?

1

A line 

2

A double line

3

An arrow

4

A double arrow

11

Multiple Choice

Directs the computer to process the program instructions, one after another, in the order in which they are listed.

1

Selection structure

2

Sequence structure

3

Repetition structure

12

Multiple Choice

Enables a program to perform one or more actions repeatedly as long as a certain condition is met

1

Selection structure

2

Sequence structure

3

Repetition structure

13

Multiple Choice

Directs the computer to make a decision (based on some condition), and then take an appropriate action based upon that decision.

1

Selection structure

2

Sequence structure

3

Repetition structure

14

media

15

media

16

media

17

media

18

media

19

media

20

media

21

media

22

media

23

Multiple Choice

Mechanism of wrapping up of the data and methods (that operate on the data) into a single unit (class)

1

Abstraction

2

Encapsulation

3

Inheritance

4

Polymorphism

24

Multiple Choice

Ability to process objects differently based on the input.

1

Abstraction

2

Encapsulation

3

Inheritance

4

Polymorphism

25

Multiple Choice

Process of hiding the implementation details and showing only functionality to the user.

1

Abstraction

2

Encapsulation

3

Inheritance

4

Polymorphism

26

Multiple Choice

Mechanism in which one object acquires all the properties and behaviors of a parent object.

1

Abstraction

2

Encapsulation

3

Inheritance

4

Polymorphism

27

Fill in the Blank

Characteristic of Object-Oriented Programming are ABSTRACTION, ENCAPSULATION , POLYMORPHISM and ____________

(Give the answer in ALL capital letter)

28

media

29

media

30

media

31

media

32

media

33

media

34

media

35

media

36

media

37

media

38

media

39

media

40

media

41

Multiple Choice

Correct way to write a short comment in the Java coding

/* I believe I will success in my UPS 1

1

TRUE

2

FALSE

42

Multiple Choice

import java.util.Scanner;

1

input statement

2

create new object

3

import statement

4

variable declaration

43

Multiple Choice

double weight = enter.nextDouble ( );

1

input statement

2

create new object

3

import statement

4

variable declaration

44

Multiple Choice

int number1;

1

input statement

2

create new object

3

import statement

4

variable declaration

45

Multiple Choice

Scanner in = new Scanner (System.in);

1

input statement

2

create new object

3

import statement

4

variable declaration

46

media

47

media

48

media

49

media

50

media

51

Multiple Choice

Every java program starts execution from the main() method.

1

TRUE

2

FALSE

media

Show answer

Auto Play

Slide 1 / 51

SLIDE