Module 1 Flashcards
In this module, you will understand the basics of Java and learn how to create simple programs. Specifically, Define Basic Terminologies Compare Procedural and Object-Oriented Programming Describe the Features of the Java programming Language Analyze a Java Application that Produces Console Output Compile a Java class and Correct Syntax Errors Run a Java Application and Correct Logic Errors
is a list of instructions that tell a computer what to do.
Computer Program
also referred to as machine code and is the most basic set of instructions that a computer can execute.
Machine language
Machine learning _________ programming language
Low-level
Machine learning has the most basic circuitry-level language
(True or False)
true
Machine learning is comprised of binary digits
True or False
True
Machine learning is comprised of ______ digits
Binary
What code is : 00010010010001010010010
01110110010101101001…..
Machine code
includes the physical parts of a computer such as a keyboard and monitor
Hardware
Software are programs and is divided into two:
application software and system software
is any program designed for end-users that performs a specific task that includes word processors, database programs.
application software
a program that is designed to run a computer’s hardware and application programs.
system software
defines the exact order of instructions needed to produce desired results.
Software Logic
the system that uses 1s and 0s to represent the on-and-off circuitry of computer systems.
Binary Numbering System
corresponds closely to a computer processor’s circuitry (0s and 1s) are used to write programs that relate to the specific architecture and hardware of a particular type of computer.
Low-level Programming Language
difficult to use and must be customized for every type of machine on which a program runs.
Low-level Programming Language
allows programmers to write instructions in a language that is easier to understand than low-level languages.
High-level Programming Language
Allows you to use a vocabulary of reasonable terms
High-level Programming Language
Enables development of a programming contest and is generally independent of the computer’s hardware architecture
High-level Programming Language
High-level Programming Language is embedded in the central processing unit
(True or false)
true
o A specific set or rules for the language
o Rules of language: rules that define the structure
o It’s like the grammar in English
Syntax
Control the structure of symbols, punctuation, and words of a programing language
Syntax
Without ______, the meaning or semantics of a language is nearly impossible to understand.
Syntax
o Similar to English sentences
o Commands to carry out program tasks
Program statements
A program written in such a language is form by a sequence of one or more statements
Program statements