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

Flashcards

Computer Science

Safwan Ahmed English 5 cards

Cards in this deck (5)

  1. 1What is a variable?A variable is a memory location used to store a value-it can be changed while the program is running.
  2. 2What is a constant?A constant is a memory location that is used to store a value-it cannot be changed while the program is running.
  3. 3What are all the common data types?The common data types are: string, integer, float and Boolean
  4. 4What is casting and why would it be used?Casting is used to change a variables' data types. A reason we use casting would be that we would need to convert an integer into a string.
  5. 5What is the difference between modulus and quotient.Modulus is whole number division. It will give you a whole number when dividing. eg 21//4=5.
    Modulus just gets you the rem

Information

Description
Flashcards on Computer Science, created by Safwan Ahmed on 12/11/2019.
Created by
Safwan Ahmed
Views
1
Rating

More on Variables, Constants and Data Types

Feedback

What is it about?

What do you think of the new look?

How do you like it?