APCS Principles 24-25 Midterm review Questions

APCS Principles 24-25 Midterm review Questions

10th Grade

27 Qs

quiz-placeholder

Similar activities

Year 10 End Module Python Quiz

Year 10 End Module Python Quiz

10th - 11th Grade

24 Qs

Year 11 Coding concepts

Year 11 Coding concepts

10th Grade

23 Qs

AP CSP Exam Review

AP CSP Exam Review

10th - 12th Grade

27 Qs

CSP Unit 7 Review Code.org

CSP Unit 7 Review Code.org

9th - 12th Grade

28 Qs

type conversion

type conversion

10th Grade

22 Qs

Functions in RobotC

Functions in RobotC

7th - 11th Grade

22 Qs

AP Computer Science Principles (Final Exam part 2)

AP Computer Science Principles (Final Exam part 2)

9th - 12th Grade

30 Qs

Unit 5 & 6 Review

Unit 5 & 6 Review

9th - 12th Grade

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