Computers Flashcards
A computer consists of
CPU, memory
How is Data stored?
Data of various kinds are encoded as a series of bits and stored in the memory. Has a memory address
Software
Instructions for computer
Levels of programming languages
Machine Language
Assembly Language
High-Level Language
Interpreter vs compiler
Interpreter: Translates statement to machine language then run it, line by line
Compiler: Takes entire program is translated to machine code before running
What are the three types of programming errors
Syntax
Runtime
Logic
Syntax
Detected by the compiler
Runtime
Causes the program to abort during the runtime
Logic
Produces incorrect result during runtime
Software Development Process
Requirements Design Implementation Testing Maintenance
Implementation
Translate the system design into programs using a programming language like Java
Testing
Ensure that the code meets the requirements specifications and remove any bugs
Advantages of Java
Can run on any type of machine
Popular language for web and system development
Good teaching langue(Many issues are hidden and strict)