Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Introduction to Variable Types and Assignment in Programming, Quizzes of Computer Science

An overview of numeric and character variables, their declaration, and assignment in programming. Learn about signed and unsigned variables, integer and real numbers, and character representation using single quotes.

Typology: Quizzes

2012/2013

Uploaded on 09/26/2013

downbeats13
downbeats13 🇺🇸

3

(1)

11 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
TERM 1
Numeric Variables
DEFINITION 1
can be either interger or the can be real valuesInteger are
whole numbersreal numbers can have a decimal point
TERM 2
Character variables
DEFINITION 2
characters will be put in single quotes. Letters and numbers
TERM 3
declaring a variable
DEFINITION 3
you can use letters numbers and underscores. Must not not
start witht a number. Must be declared on the top of the
page
TERM 4
signed variables
DEFINITION 4
can be negative or positive. All variables begin as signed
variables unless stated
TERM 5
unsigned variables
DEFINITION 5
only positive: put unsigned before the variable.
pf2

Partial preview of the text

Download Introduction to Variable Types and Assignment in Programming and more Quizzes Computer Science in PDF only on Docsity!

TERM 1

Numeric Variables

DEFINITION 1

can be either interger or the can be real valuesInteger are

whole numbersreal numbers can have a decimal point

TERM 2

Character variables

DEFINITION 2

characters will be put in single quotes. Letters and numbers

TERM 3

declaring a variable

DEFINITION 3

you can use letters numbers and underscores. Must not not

start witht a number. Must be declared on the top of the

page

TERM 4

signed variables

DEFINITION 4

can be negative or positive. All variables begin as signed

variables unless stated

TERM 5

unsigned variables

DEFINITION 5

only positive: put unsigned before the variable.

TERM 6

Assigning value to variables

DEFINITION 6

using one equals sign