Programming Flashcards

Description

q3ra
Josh Watkins
Flashcards by Josh Watkins, updated more than 1 year ago
Josh Watkins
Created by Josh Watkins almost 7 years ago
4
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

Similar

Accounting Definitions
Tess Morris
Crisis in Weimar Germany 1919-1923
KateMoriarty
Causes, Practices, and Effects of World War 1
Emma Pettersen
B6 - Brain and Mind OCR
franimal
English Placement Test
CoachDanielDixon
Psychology Exam review
emaw757
atoms and elements
Danoa400
Biology B1.3
raffia.khalid99
Health and Social Care Flashcards
Kelsey Phillips
A-Level Revision Tips
Alex Declan
World War II Notebook
jenniferfish2014