0
0
Intro to Computingfundamentals~20 mins

What a programming language is in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Programming Language Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the Purpose of a Programming Language

Imagine you want to tell a robot how to make a sandwich. Which of these best describes what a programming language does?

AIt is a language that computers use to talk to each other directly without humans.
BIt is a special language that lets you give clear instructions to a computer or robot.
CIt is a tool to decorate websites with colors and fonts.
DIt is a language only used by humans to talk to each other.
Attempts:
2 left
💡 Hint

Think about how you explain steps to someone who doesn't understand your language.

trace
intermediate
2:00remaining
Tracing Simple Code Instructions

Look at the flowchart below that shows steps in a programming language. What is the final output?

Flowchart steps:
1. Start
2. Set x = 3
3. Set y = x + 2
4. Print y
5. End

A5
B3
C2
DError
Attempts:
2 left
💡 Hint

Follow the steps one by one and calculate the value of y.

Comparison
advanced
2:00remaining
Comparing Programming Languages to Human Languages

Which analogy best explains the difference between a programming language and a human language?

AA programming language is like music; a human language is like a dance.
BA programming language is like a spoken language; a human language is like a written code.
CA programming language is like a painting; a human language is like a math formula.
DA programming language is like a recipe book with exact steps; a human language is like a conversation with flexible meanings.
Attempts:
2 left
💡 Hint

Think about how computers need exact instructions versus how people talk.

identification
advanced
2:00remaining
Identifying Programming Language Features

Which of the following is NOT a feature of a programming language?

AAllows writing instructions that computers can execute.
BUses symbols and words to represent commands.
CCan be understood by any human without learning.
DFollows strict rules for syntax and structure.
Attempts:
2 left
💡 Hint

Consider if programming languages are naturally understood by everyone.

🚀 Application
expert
2:00remaining
Choosing the Right Programming Language for a Task

You want to create a simple website that shows your favorite recipes. Which programming language would you use to write the structure and content of the website?

AHTML
BJava
CPython
DSQL
Attempts:
2 left
💡 Hint

Think about which language is used to build the parts of a webpage you see.