Programming Basics

Programming Basics

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

QUIZ M4 Stack & Queue

QUIZ M4 Stack & Queue

1st Grade - University

14 Qs

UTS SMT Genap PBO 11 RPL

UTS SMT Genap PBO 11 RPL

11th Grade

15 Qs

CSAwesome 5.4 - 5.6

CSAwesome 5.4 - 5.6

10th - 12th Grade

8 Qs

AP CSA 5.4 / 5.5 (Getters / Setters)

AP CSA 5.4 / 5.5 (Getters / Setters)

10th - 12th Grade

6 Qs

Static, Non-static and final fields and methods

Static, Non-static and final fields and methods

11th - 12th Grade

10 Qs

Recursion in Java

Recursion in Java

11th - 12th Grade

15 Qs

C++ Arrays

C++ Arrays

8th - 12th Grade

12 Qs

Unit 8 - Searching and Sorting

Unit 8 - Searching and Sorting

9th - 12th Grade

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