Time Manager Class Activity Material Manager Writer leader Communicator Programmer Start a journey from the capital AbuDhabi to Alasmaa School using your.

Slides:



Advertisements
Similar presentations
Chapter 3 DATA: TYPES, CLASSES, AND OBJECTS. Chapter 3 Data Abstraction Abstract data types allow you to work with data without concern for how the data.
Advertisements

Objective: Dealing with data in C++ Agenda: Notes Essay Help.
Data types and variables
Declarations/Data Types/Statements. Assignments Due – Homework 1 Reading – Chapter 2 – Lab 1 – due Monday.
1 Key Concepts:  Data types in C.  What is a variable?  Variable Declaration  Variable Initialization  Printf()  Scanf()  Working with numbers in.
CS150 Introduction to Computer Science 1
Chapter 2 Data Types, Declarations, and Displays
Data Type. A data type defines a set of values that a variable can store along with a set of operations that can be performed on that variable. Common.
By: Mr. Baha Hanene Chapter 4. LEARNING OUTCOMES This chapter will cover learning outcome no. 2 i.e. Use basic data-types and input / output in C programs.
Objectives You should be able to describe: Data Types
Java Data Types. Primitive Data Types Java has 8 primitive data types: – char: used to store a single character eg. G – boolean: used to store true or.
Lec 6 Data types. Variable: Its data object that is defined and named by the programmer explicitly in a program. Data Types: It’s a class of Dos together.
5 BASIC CONCEPTS OF ANY PROGRAMMING LANGUAGE Let’s get started …
Primitive Variables.
Variables and Functions. Open your Encoder program Let’s begin by opening the “Labyrinth Auto Straight” code. Save this file as Labyrinth with variables.
Code Grammar. Syntax A set of rules that defines the combination of symbols and expressions.
Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory.
Variables in Java x = 3;. What is a variable?  A variable is a placeholder in memory used by programmers to store information for a certain amount of.
Data types  CHAR (size): This data type is used to store character strings values of fixed length. The size in brackets determines the number of characters.
ITEC 109 Lecture 7 Operations. Review Variables / Methods Functions Assignments –Purpose? –What provides the data? –What stores the data? –What type of.
Welcome to AP Computer Science A We use the Java language, but this class is much more rigorous than Intro to Java More programming, but also more theory.
Variables Hold information that may be manipulated, used to manipulate other information or remembered for later use A storage location in memory (RAM)
Chapter One Lesson Three DATA TYPES ©
Values, Types, and Variables. Values Data Information Numbers Text Pretty much anything.
12/14/2016CS150 Introduction to Computer Science 1 Announcements  Website is up!   All lecture slides, assignments,
 Variables can store data of different types, and different data types can do different things.  PHP supports the following data types:  String  Integer.
Variables and Functions ROBOTC Software. Variables A variable is a space in your robots memory where data can be stored, including whole numbers, decimal.
COP2800 – Computer Programming Using JAVA University of Florida Department of CISE Spring 2013 Lecture 06 – Java Datatypes Webpage:
 constant represented by a name, just like a variable, but whose value cannot be changed  The const keyword precedes the type, name, and initialization.
Sudeshna Sarkar, IIT Kharagpur 1 Programming and Data Structure Sudeshna Sarkar Lecture 3.
Basic Data Types อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา Chapter 4.
Data Types Mr Tottman Link. Data Types Programs need to use data for calculations and for output to various devices The best programs will always use.
C LANGUAGE UNIT 3. UNIT 3 Arrays Arrays – The concept of array – Defining arrays – Initializing arrays.
Chapter 2 Variables and Constants. Objectives Explain the different integer variable types used in C++. Declare, name, and initialize variables. Use character.
Variables. A variable is a space in your robot’s memory where you can store data, such as whole numbers, decimal numbers, and words. Variable names follow.
Copyright © Texas Education Agency, Computer Programming Variables and Data Types.
Fundamentals 2.
Week 2 - Wednesday CS 121.
User Interaction and Variables
Variables Mr. Crone.
A basic tutorial for fundamental concepts
Object Oriented Programming
Introduction to Python Data Types and Variables
CSE 303 Concepts and Tools for Software Development
Computational Thinking
Computational Thinking
Variables ,Data Types and Constants
IPC144 Introduction to Programming Using C Week 2 – Lesson 1
Lesson 2: Building Blocks of Programming
Microsoft Visual Basic 2005 BASICS
Computers & Programming Languages
Console input.
Variables Numbers can be stored and retrieved while a program is running if they are given a home. The way that integers and decimal numbers are stored.
CS150 Introduction to Computer Science 1
Building Java Programs
Variables Kevin Harville.
Chapter # 2 Part 2 Programs And data
CS150 Introduction to Computer Science 1
C Programming Pointers
Variables Here we go.
Chapter 4, Variables Brief Notes
B065: PROGRAMMING Variables 2.
Data Types Every variable has a given data type. The most common data types are: String - Text made up of numbers, letters and characters. Integer - Whole.
Data Types and Maths Programming Guides.
An Introduction to Programming
In your notebook… Purpose: What types of data can we store in C
Input, Variables, and Mathematical Expressions
C Programming Lecture-3 Keywords, Datatypes, Constants & Variables
Variables and Constants
Section 6 Primitive Data Types
Presentation transcript:

Time Manager Class Activity Material Manager Writer leader Communicator Programmer Start a journey from the capital AbuDhabi to Alasmaa School using your Edison Robot You must give your Robot a name and record the journey

Let’s Start our Journey Abu Dhabi AlAsmaa School

Learning Outcomes Understand the variables , datatypes and operators Understand their use in programming

36980 + 12555

What are variables and datatypes? Variable: A way of naming (space )and storing a value for later use in program. Data Types: Specifies which type of value a variable has so an operation can be applied to it Declare a variable: write a variable with its datatype.

Activity Where do you plan to go this weekend? Work in pair .. And ask your colleague the following questions .. Where do you plan to go this weekend? How much do you expect today’s temperature ? What time you reach home everyday? What is the first character of your mother’s name ?

Variables and Data types Integer int Float float Word String character char Book Activity P- 58 Definition Variable Declaration Example Integer (int) Whole numbers (positive and negative) int x = 5 ; 380 , -200 Float (float) Decimal numbers (positive and negative) float num = 2.5 ; 2.6 , -9.1 String (string) Words or sentences declared between “ “ string a = “year of zayed” “hello” , “Zayed” Character (char) Single character declared between ‘ ‘ char n = ‘y’ ‘Y’, ‘n’ , ‘f ‘, ‘m’

Book Activity page 60

What are operators? Operator: symbols that tells the program to perform specific mathematical operation. There are different operators used for different purposes : Mathematical Operators Comparison Operators

What are Mathematical operators? Mathematical Operator: operators used to do mathematical operation in programs.

Comparison operators Comparison Operator: operators used to compare variables

Boolean operators Book Activity page 66

End of Unit Assessment