Computer Science - Block-Based Programming - Conditionals in block programming - Conditional Code Prediction

Predict what happens for given inputs. Q1: 'x = 7. [if x > 5 then say "big" else say "small"]. Output?' A) big, B) small, C) nothing. [A]. Q2: 'x = 3. Same code. Output?' [B - small]. Q3: 'score = 85. [if score >= 90 then say "A" else if score >= 80 then say "B" else say "C"]. Output?' [B]. Q4: 'tem

Edodovivmagarwal
Computer Science - Block-Based Programming - Conditionals in block programming - Conditional Code Prediction
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Block-Based Programming - Conditionals in block programming - Conditional Code Prediction

vivmagarwal
vivmagarwalJan 29, 2026

Description

Predict what happens for given inputs. Q1: 'x = 7. [if x > 5 then say "big" else say "small"]. Output?' A) big, B) small, C) nothing. [A]. Q2: 'x = 3. Same code. Output?' [B - small]. Q3: 'score = 85. [if score >= 90 then say "A" else if score >= 80 then say "B" else say "C"]. Output?' [B]. Q4: 'tem

Details

Computer ScienceBlock-Based ProgrammingStage 5, PYP Grade 4, Class 5, Class 5, Grade 4

Engagement

5

Likes

0

Remixes

0

Comments