APCS Principles 24-25 Midterm review Questions

APCS Principles 24-25 Midterm review Questions

10th Grade

27 Qs

quiz-placeholder

Similar activities

JavaScript Console & Graphics Review

JavaScript Console & Graphics Review

9th - 12th Grade

25 Qs

Javascript Final Review

Javascript Final Review

9th - 12th Grade

25 Qs

Basic Boolean Logic Practice

Basic Boolean Logic Practice

9th - 12th Grade

22 Qs

Interactive Animations and Games

Interactive Animations and Games

9th - 12th Grade

24 Qs

Code.org Animation and Games

Code.org Animation and Games

9th - 12th Grade

24 Qs

Code.org Unit 7 Test

Code.org Unit 7 Test

9th - 12th Grade

26 Qs

Unit 7 APCSA

Unit 7 APCSA

9th - 12th Grade

26 Qs

Python Basics 3

Python Basics 3

9th - 12th Grade

25 Qs

APCS Principles 24-25 Midterm review Questions

APCS Principles 24-25 Midterm review Questions

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Brian Ciavarella

Used 6+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is true of algorithms?

Algorithms must be written in a specific programming language

Algorithms can solve every problem

Algorithms can be constructed using combinations of sequencing, selection, and iteration

Algorithms always have a set of ambiguous instructions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is appropriate for storing a person's age in years?

String

Number

Boolean

Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code segment results in "true" being returned if a number is odd?

A. num % 2 == 1;

B. num % 1 != 2;

C. num % 1 == 1;

D. num % 2 == 0;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept does the following algorithm BEST demonstrate? Repeat for Weekdays Wake up Go to school Come home Go to bed

Execution

Sequencing

Selection

Iteration

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression: 17 % 4?

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given that y has a value of 10, what is the value of the expression: (y < 10) AND (y > 5)?

True

False

y

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following terms is accurate for the definition: a reusable block of code that performs a specific task?

Function Call

Variable

Function

Expression

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?