Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Introduction to programming

Description

programming is writing computer code to create a program, in order to solve a problem. Programs consist of a series of instructions to tell a computer exactly what to do and how to do it.
Ar___. M____
Quiz by Ar___. M____, updated more than 1 year ago
Ar___. M____
Created by Ar___. M____ over 8 years ago
115
0
1 2 3 4 5 (0)

Resource summary

Question 1

Question
What is a programming language?
Answer
  • An artificial language used to program a computer
  • Written English
  • The make and model of a computer

Question 2

Question
What is machine code?
Answer
  • A programming language that a computer understands
  • The serial number of a computer
  • The make and model of a computer

Question 3

Question
What is a program?
Answer
  • A video that is watched on a computer
  • A series of step-by-step instructions that tell a computer how to solve a task
  • A flowchart written on a computer

Question 4

Question
What is a statement?
Answer
  • A keyword in a programming language
  • A box in a flowchart
  • A calculation performed in a programming language

Question 5

Question
What is an instruction?
Answer
  • A box in a flowchart
  • A calculation performed in a programming language
  • One or more statements grouped together to instruct the computer to perform a task

Question 6

Question
What does the statement 'print' do?
Answer
  • Output a hard copy of a program to a printer
  • Output a message on the screen
  • Print a hard copy of a flowchart to a printer

Question 7

Question
What does the statement 'while' do?
Answer
  • Tell the computer to wait for a while before continuing with the program
  • Implement selection
  • Implement a loop

Question 8

Question
What does the statement 'def' do?
Answer
  • Creates a function or a procedure
  • Implement a loop
  • Tell the computer to wait for a while before continuing with the program

Question 9

Question
What do the statements 'if' and 'else' do?
Answer
  • Implement selection
  • Implement a loop
  • Tell the computer to wait for a while before continuing with the program

Question 10

Question
How many statements are there in this line of code: print("If I am 17, I can drive a car")?
Answer
  • There are two statements - 'print' and 'if'
  • There are no statements
  • There is one statement - 'print'
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

OCR Biology AS level (f211) flashcards/revision notes
Dariush Zarrabi
Biology Unit 1
hannahsanderson1
B3- Science. Cells, Genes and Enzymes.
MissChurro
GCSE French - The Environment
Abby B
“The knower’s perspective is essential in the pursuit of knowledge.” To what extent do you agree with this statement?
Lucia Rocha Mejia
Preparing for ACT Math section
Don Ferris
Salesforce Admin 201 Exam Chunk 6 (156-179)
Brianne Wright
SFDC App Builder 1 (151-175)
Connie Woolard
Legislative Branch
Mr. Vakhovsky
Anatomie - sistemul digestiv 1
Eugeniu Nicolenco