Variables and constants, Basic Computer Science

Variables and Constants:

These are the smallest components of a programming language.  For writing a program, one must know how to use the internal memory of a computer. A Computer memory is divided into several locations where each location has its own address. Memory organization can be represented diagrammatically as below:  

 

671_Variables and Constants.png

Each location or cell can hold some information. In order to store, retrieve or manipulate data from a specific memory location, we must have some identifier for a particular location. .   

 

Posted Date: 10/23/2012 3:43:30 AM | Location : United States







Related Discussions:- Variables and constants, Assignment Help, Ask Question on Variables and constants, Get Answer, Expert's Help, Variables and constants Discussions

Write discussion on Variables and constants
Your posts are moderated
Related Questions
Input/Output Services:   Every operating system, large or small, provides input/output services for each device in the system. The operating system includes I/O device driver

Question 1 List down any six features of a Smartphone Question 2 Give a brief note on a) Internal Flash Disk. b) Use of C++ in Symbian OS Question 3 What are the naming

write a program of 2 sum and 2 product number in C++ programming language

They are used to reduce or enlarge the content of the counters. DEC INC DEC INSTRUCTION Idea: To diminish the operator. Syntax: DEC destiny This action subtracts 1 from the destiny

Input unit: These are used to read data and transfer to primary memory contained in CPU through keyboard or floppy disk or mouse etc. Central Processing Unit (CPU): This consists o


Magnetic Memory:  In the above section we have seen various types of semiconductor RAMs. These high speed semiconductor storage devices (i.e. RAMs) are expensive. So we need s

How to write an algorithm to reverse the order of elements on a stack s using two additional stacks

Liquid Crystal Displays (LCD): First introduced in watches and clocks in the1970's, LCDs are now used to display images in monitors. A newer technology in computer screens is

Internal Storage: Internal storage is also known as main, primary, or (for historical reasons) core storage, or, memory. It is used to hold those instructions and data require