Computer language

Published on 12/06/2015 by admin

Filed under Radiology

Last modified 22/04/2025

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 1273 times

1 Computer Language

How Computers Work

  Keyboard
Each key represents a number of electrical signals (a stream of electrons and spaces)
To input data
A key is depressed
For each key depressed
A number of electrical impulses (signals and non-signals) are sent to the computer
Silicon chip
The circuits on the silicon chips are activated
Signal
A corresponding signal is sent to the screen (composed of signals and non-signals)
Image formation
When an electron interacts with the screen the screen fluoresces
When there are no electrons it does not fluoresce
Example image of a letter T
111111
001100
  001100 Where 0 = no electron and 1 = electron
  001100
Decimal System
Binary
A 64 32 16 8 4 2 1 = Decimal numbers
B 1 1 1 0 1 1 0 = Binary number
C 0 1 0 1 0 0 1 = Binary number
To Change Binary to Decimal
(This can be done automatically by using a computer’s Scientific Calculator)
Example 1
Example 2
To Change Decimal to Binary
(This can be done automatically by using a computer’s Scientific Calculator)
128 64 32 16 8 4 2 1
Example
Bit
(BInary digiT)
Byte
Example
[Decimal] [Character] [Character]
115 01110011 s
34 00100010 ″
68 01000100 D
Hexadecimal System

Table 1.1 Comparison of decimal, hexadecimal and binary number systems 0–20

Decimal Hexadecimal Binary
0 0 0
1 1 1
2 2 10
3 3 11
4 4 100
5 5 101
6 6 110
7 7 111
8 8 1000
9 9 1001
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
16 10 10000
17 11 10001
18 12 10010
19 13 10011
20 14 10100

Silicon Chips

Components
The Silicon Chip (Microchip)

Computer Languages

Machine Code Historically
High Level Languages
BASIC Reserve Words
(Examples in BOLD)
To enable any computer to RUN it must have some form of language for it to be able to LOAD a program. You may wish to SAVE the program onto disk or tape. It may also be necessary in the program for the computer to READ a set of DATA and, from time to time, GOTO various sections of the program to be able to LIST certain variables which have been turned into STRINGs.
You may also have to WAIT WHILE the computer WENDs its way through very long CHAINs of numbers before it can RESTORE itself and RETURN to the program and allow you to INPUT more information before it will PRINT out the name you wanted to DELETE. Eventually the program will STOP, END and finally CLOSE.
Syntax
(Programme construction or rules)
CP/M
(A standard ‘business’ computer language)
DICOM
(Digital Imaging and Communications in Medicine)
This is a communications protocol to enable standardisation in medical data files produced and updated by the National Electrical Manufacturers Association (NEMA).
Aim
It is essential that:
The Problems Image files
Standard File Formats
Computer Operating Systems
Networks
The System
The Manufacturer
Service Classes
Advantages of DICOM
Disadvantages of DICOM

Sources