Programming Basics

Programming Basics

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Array

Array

11th Grade - University

10 Qs

algoritma

algoritma

12th Grade

11 Qs

AP Computer Science A Unit 5

AP Computer Science A Unit 5

10th - 12th Grade

6 Qs

AP Computer Science A Unit 5 Section 4 (Accessor Methods)

AP Computer Science A Unit 5 Section 4 (Accessor Methods)

10th - 12th Grade

5 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

002_Java Methods

002_Java Methods

12th Grade - University

15 Qs

Uji Pemahaman Stack dan Queue

Uji Pemahaman Stack dan Queue

12th Grade

10 Qs

Arrays Intro

Arrays Intro

9th - 12th Grade

12 Qs

Programming Basics

Programming Basics

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Used 23+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the variable which only stores two different values?
Integer
String
Double
Boolean

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Is the following method an accessor method or a mutator method?
public void setValue (int x){
  value = value + x;
}
This is an accessor method
This is a mutator method

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is the following method an accessor method or a mutator method?
public String returnValue(){
  return theName;
}
This is an accessor method
This is a mutator method

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is this?
A Binary Tree
An Array
A Linked List
An integer

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
Post order traversal
f, b, a, d, c, e, g, i, h
a, b, c, d, e, d, h, i, g, f
a, c, e, d, b , h, i, g, f
ha ha ha ha ha

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the features of an abstract data structure?
fixed size, primitive data types,
associated methods, no set size, user defined data types
an array, a linked list and stack are these

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following are primitive data types?
int, double, boolean, short, long
array, string, linked list
string, double, int, boolean
string, date, int, dog

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?