Structure.

Slides:



Advertisements
Similar presentations
Basic Parts of a Computer I am a MONITOR. A monitor is the TV-set-like screen that displays video.
Advertisements

There are 3 basic steps to move information or data through the computer. The 1st step is when you give information to the computer it is called INPUT.
Parts of a Computer.
Structure.
Structures in C.
CSC141- Introduction to Computer Programming Teacher: AHMED MUMTAZ MUSTEHSAN Lecture – 25 Thanks for Lecture Slides: Dr. Sadaf Tanveer Dr. Sadaf Tanveer,
1 C++ Syntax and Semantics The Development Process.
INPUT, OUTPUT, And STORAGE DEVICE
Structures. An array allows us to store a collection of variables However, the variables must be of the same type to be stored in an array E.g. if we.
Computer Bits and Parts Parts of the computer system.
Computer Hardware.
1 Lecture 5: Input/Output (I) Introduction to Computer Science Spring 2006.
How to Program in C++ CHAPTER 3: INPUT & OUTPUT INSTRUCTOR: MOHAMMAD MOJADDAM.
04/05/031 Computer Input and Output Dairne Jesperson Charles Darwin University.
Computer Vocabulary Finals Review. What is this?
May be reproduced for classroom use. © Classroom Connect Computer Parts and Vocabulary.
Major Computer Parts.
Computer A computer is an electronic machine that takes information, processes it,and stores it. Computers are made up of hardware ( monitor, tower, keyboard,
Computer Science Web quest. Input devices Input devices are used to give the computer information so it does what the operator wants it to do. There are.
Array, Structure and Union
 Structures are like arrays except that they allow many variables of different types grouped together under the same name. For example you can create.
1 CSC103: Introduction to Computer and Programming Lecture No 24.
Chapter 3: Input/Output. Objectives In this chapter, you will: – Learn what a stream is and examine input and output streams – Explore how to read data.
Parts of a Computer. Two Basic Components of a Computer System Hardware Parts of the Computer System you can physically touch Software Computer Instructions.
Sequential Circuit Design By : Pn Siti Nor Diana Ismail CHAPTER 6.
Chapter 2 Variables and Constants. Objectives Explain the different integer variable types used in C++. Declare, name, and initialize variables. Use character.
Chapter 3: Input/Output. Objectives In this chapter, you will: – Learn what a stream is and examine input and output streams – Explore how to read data.
INPUT AND OUTPUT DEVICES. INPUT ALL THE ELEMENTS THAT HELP TO PUT INFORMATION INSIDE THE COMPUTER.
Chp 4: Input and Output Devices
Test 2 Review Outline.
Concepts and Basics of C++ Programming
BASIC OF THE COMPUTER SYSTEM. INPUT/OUTPUT INPUT DEVICES MOUSE KEYBOARD SCANNER OUTPUT DEVICES PRINTER MONITER.
Basic Parts of a Computer
Basic Parts of a Computer
08/28/06 parts of the computer.
Basic Parts of a Computer
Concepts and Basics of C++ Programming
Buy book Online -
S. Kiran, PGT (CS) KV, Malleswaram
Linked List Lesson xx   In this presentation, we introduce you to the basic elements of a linked list.
Chapter 9: Records (structs)
Chapter 9: Records (structs)
Chapter 10: Records (structs)
Chapter 9: Records (structs)
Basic Parts of a Computer
Interaction of Hardware
Strings A collection of characters taken as a set:
Arrays An array is a collection of variables that all have the same name and the same data type. Each member of the array is known as an element of the.
Chapter 3: Input/Output
Chapter 1: Introduction to Data Structures(8M)
EECE.2160 ECE Application Programming
CS150 Introduction to Computer Science 1
Objectives In this chapter, you will: - Learn about records (structs) - Examine operations on a struct - Manipulate data using a struct - Learn about the.
CS150 Introduction to Computer Science 1
Chapter 11: Records (structs)
Basic Parts of a Computer
CHAPTER 4 File Processing.
C Programming Lecture-13 Structures
Structures In C Programming By Rajanikanth B.
C Programming Lecture-14 Unions
Basic Parts of a Computer
Basic Parts of a Computer
Basic Parts of a Computer
Basic Parts of a Computer
Basic Parts of a Computer
Chapter 9: Records (structs)
Variables and Constants
Basic Parts of a Computer
08/28/06 parts of the computer.
Basic Parts of a Computer
Presentation transcript:

Structure

Defination :- Structure is a collection of One or More variables grouped together.

Concept:- A structure is collection of one or more variables grouped together. The variables in structure are called variables. Members may have any type, includes array and structure. Whatever be the elements of a structure, they are always stored in continuous memory location.

Syntax of Structure :- Struct class { char name[20]; char lastname[20]; int rollno. ; };

Uses of Structure Changing size of cursor Clearing the contents of the screen Placing the cursor at an appropriate position on screen Drawing any graphics shape on the screen Receiving a key from keyboard Checking the memory size of computer Formatting a Floppy Sending output to printer Interacting with the mouse

Summary :- A structure is usually used when we wish to store dissimilar data together Structure elements can be accessed throught a structure variable using a dot(.) operator. It is possible to create an array of structures.