Algorithms / Methods

Algorithms / Methods

9th Grade

8 Qs

quiz-placeholder

Similar activities

Mecatronica 3ro IOQ 1

Mecatronica 3ro IOQ 1

9th - 10th Grade

10 Qs

Python

Python

9th Grade

13 Qs

Reconstruction Quiz

Reconstruction Quiz

9th - 11th Grade

10 Qs

Computer Apps I Vocabulary 15

Computer Apps I Vocabulary 15

9th Grade

10 Qs

Operator dan Pemalar

Operator dan Pemalar

8th - 9th Grade

10 Qs

Initial Assessment - Cybersecurity Awareness

Initial Assessment - Cybersecurity Awareness

9th Grade - Professional Development

10 Qs

Cyber Security Solutions

Cyber Security Solutions

9th - 12th Grade

11 Qs

Internet Safety Knowledge (Pretest)

Internet Safety Knowledge (Pretest)

9th - 12th Grade

11 Qs

Algorithms / Methods

Algorithms / Methods

Assessment

Quiz

Computers

9th Grade

Practice Problem

Easy

Created by

Shang Lebron

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

An algorithm

is fake code.

answers the question "How do I do it?"

is usually well written on your first attempt.

is a set of step by step instructions used to solve a problem.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Pseudocode

should look like a numbered outline.

is used to help you understand the problem.

is a well structured programming language.

usually looks like a generalized version programming languages.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A method

can be declared as void and still return an int

will return an int if its parameters are ints

must have a return type

must have at least one parameter

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A method variable

can be seen by all methods

must be declared outside of all methods

only exists in the method it was created

is a variable with no parameters

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

GIven

public static int myMethod(int num, String word)

which of the following can not be in the same class

public static int myMethod(String word, int num)

public static String myMethod(int num, String word)

public static int myMethod(int num)

public static int anotherMethod(int num, String word)

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Method overloading is

when two or more methods have the same name

when two or more methods have the same parameters

when two or more methods have the same signature

a method has more than 10 lines of code in it

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following are false?

The methods return type, is the data type of the data the method returns when it is complete.

If you do not want to return any data then the return type must be declared void.

The last line of code in a method must be its final return statement.

A method can return as many pieces of data as it needs to.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?