Topic 1: Computational thinking, level 2

Topic 1: Computational thinking, level 2

9th Grade

25 Qs

quiz-placeholder

Similar activities

National 5 Programming (VB and Theory)

National 5 Programming (VB and Theory)

1st - 11th Grade

20 Qs

Introduction to Python

Introduction to Python

7th - 9th Grade

20 Qs

Tipos Agregados Homogêneos - Vetor e Matriz em C

Tipos Agregados Homogêneos - Vetor e Matriz em C

1st - 10th Grade

20 Qs

CS Python Fundamentals Test 9 PRACTICE

CS Python Fundamentals Test 9 PRACTICE

9th - 12th Grade

20 Qs

AP CSP 1.1.6 - 1.1.9 Vocabulary

AP CSP 1.1.6 - 1.1.9 Vocabulary

9th - 12th Grade

20 Qs

Programming Fundamentals Part 2

Programming Fundamentals Part 2

9th - 11th Grade

20 Qs

Intro to Algorithms

Intro to Algorithms

9th - 12th Grade

23 Qs

Topic 1: Computational thinking level 4

Topic 1: Computational thinking level 4

9th Grade

20 Qs

Topic 1: Computational thinking, level 2

Topic 1: Computational thinking, level 2

Assessment

Quiz

Computers

9th Grade

Hard

Created by

John Rutherford

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a one-dimensional and two-dimensional array?

A one-dimensional array stores different data types, a two-dimensional array stores the same data type

A one-dimensional array stores the same data type, a two-dimensional array stores different data types

A one-dimensional array is used for sorting, a two-dimensional array is used for searching

A one-dimensional array stores a single row of data, a two-dimensional array stores multiple rows and columns

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm has a time complexity of O(n^2)?

Bubble sort

Merge sort

Linear search

Binary search

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a record in programming?

To store a sequence of items with the same data type

To store a sequence of items with different data types

To increase memory usage

To reduce readability

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a binary search algorithm do?

It searches for an item in an unsorted array

It compares adjacent elements and swaps them if necessary

It searches for an item in a sorted array by halving the search space

It merges two sorted lists

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the benefit of using constants in code?

To change values during execution

To store values that do not change during execution

To increase memory usage

To reduce readability

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator performs integer division?

/

//

%

**

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a subprogram in programming?

To increase code length

To reuse code

To reduce readability

To slow down execution

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?