GoConqr has a new look! Let us know what you think.

Flashcards

Intro to programming

Muhammad Raza Computer Science A level English 10 cards

Intro to programming

Cards in this deck (10)

  1. 11. What is an Algorithm? 2. And Example of an algorithm? 3. What does an example include?1. Algorithm:
    An algorithm is a set of rules or a sequence of steps specifying how to solve a problem.
    2. Example: A set of instructions of how to log in.
    3. Each example has INPUT, PROCESSING
    and OUTPUT.
  2. 2What is Pseudocode?No international standard (we use OCR Standard)
    A half way between English and programming statements.
  3. 31. What are variables? 2. What are constants?1. Variables are identifiers (names) given to memory locations whose contents will change during the course of the program.
    2. Constants are used when the value will not change during the running of the program.
  4. 4Data Types: 1. What is an Integer? 2. What is a Real/Floating Point? 3. What is a Character 4.What is a String 5. What is a Boolean?1. An Integer is a whole number.
    2. A Real/ Floating point is a number with a fractional part (decimal number).
    3. Character is a single letter,number or special character.
    4. String is one or more letter, numbers or special characters.
    5. Boolean is a variable which can only hold a true or false value.
  5. 5Programming Arithmetic Operators: 1. What is "+"? 2. What is "-"? 3. What is "*"? 4. What is "/"? 5. What is "MOD"and what does it do? 6. What is "DIV" and what does it do? 7. What is "exponent" and what does it do?1. Addition
    2. Subtraction
    3. Multiplication
    4. Division
    5. Modulus (Remainder of DIV)
    6. Quotient (Divide but gives a whole number answer, ignores decimal, remainder).
    7.Power (indeces)
  6. 6Comparison Operators: 1. What is "=="? 2. What is "!="? 3. What is "<"? 4. What is "<="? 5. What is ">"? 6. What is ">="?1. Equal to
    2. Not equal to
    3. Less than (left is less)
    4. Less than or equal to
    5. Greater than
    6. Greater than or equal to
  7. 7Logic operators: 1. What does "AND" do? 2. What does "OR" do? 3. What does "NOT" do? 4. What does "XOR" do?1. Both comparisons are true
    2. At least one comparison is true
    3. Flips the result of the comparison
    4. Exclusive OR-only one comparison is true (if both true, outcome will be false)
  8. 8—
  9. 9If/else statementIf/else statement
  10. 10swtich/case statementswtich/case statement

Information

Description
Flashcards on Intro to programming, created by Muhammad Raza on 12/09/2017.
Created by
Muhammad Raza
Views
5
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?