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
9
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

AQA GCSE Biology genetic variation
Olivia Phillips
A-level Sociology Quiz
Chuck Amobi
A Level: English language and literature technique = Dramatic terms
Jessica 'JessieB
Input Devices
Jess Peason
Australia vs UK PE
Cal Jones
A View from the Bridge Quotes
Emma Payne
Ratios
Sharon Yates
Mga Tauhan ng Ibong Adarna
mark.sy7054
Pscod new model test#1
Sukesh Angla