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

Programming Flashcards

Description

q3ra
Josh Watkins
Flashcards by Josh Watkins, updated more than 1 year ago
Josh Watkins
Created by Josh Watkins about 8 years ago
8
0
1 2 3 4 5 (0)

Resource summary

Question Answer
Definition of Variable A variable is a value that can change, depending on conditions or on information passed to the program.
Definition of Constant A constant is a value that cannot be altered by the program during normal execution
list = [ans1, ans2, ans3, ans4, ans5] var = int(input()) if var == 0: print(ans1, ans3) var = 4 IDENTIFY THE VARIABLES AND CONSTANTS 'list' is a constant 'var' is a variable
Five different data types Boolean - True or False Integer - Whole number String - Series of characters Character - Any ASCII character Real - Whole numbers, rational numbers, irrational numbers
Show full summary Hide full summary

0 comments

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

Similar

An Inspector Calls - Themes
Emily Simms
Jung Quiz
katprindy
GCSE Statistics
Andrea Leyden
Sociology - Unit 1:Families and households
Jake Pickup
Variation and evolution Quiz
James Edwards22201
GCSE AQA Biology 3 Kidneys & Homeostasis
Lilac Potato
Chemistry (C3)
Amy Lashkari
Characters in "An Inspector Calls"
Esme Gillen
NSI Test First day
brahim matrix
“In gaining knowledge, each area of knowledge uses a network of ways of knowing.” Discuss this statement with reference to two areas of knowledge
Julianapabab