Programming Basics

Programming Basics

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

C++ Arrays

C++ Arrays

8th - 12th Grade

12 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Pentaksiran T4(1.3)

Pentaksiran T4(1.3)

11th Grade

15 Qs

CodeHS 3.5 String Methods

CodeHS 3.5 String Methods

9th - 12th Grade

12 Qs

Unit 8 - Searching and Sorting

Unit 8 - Searching and Sorting

9th - 12th Grade

15 Qs

Data Structures

Data Structures

12th Grade

15 Qs

#128 Accessor Methods

#128 Accessor Methods

11th Grade

12 Qs

AP CSA Java Unit 5 Classes

AP CSA Java Unit 5 Classes

10th - 12th Grade

6 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?