Prelims

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

computer program

  • A sequential set of instructions, known as code, is written or “programmed” in a computer language to let the computer perform a specific computation task.

2
New cards

computer language

  • a set of grammatical rules that commands a computer or a device to behave in a specific way. It also refers to a programming language.

3
New cards

Programming Paradigms

  • “paradigm” is synonymous with “pattern.”

  • refer to the different approaches to structuring and organizing code.

  • provide a conceptual framework for solving problems and designing software.

4
New cards

Procedural Programming

  • also called imperative programming

  • Focuses on organizing code into reusable procedures or functions, emphasizing the sequence of steps to execute a program.

5
New cards

Object-oriented programming (OOP)

  • revolves around the concepts of objects that encapsulate data and behavior, promoting modularity, code reusability, and scalability.

6
New cards

Functional Programming

  • Treats computations as evaluating mathematical functions, emphasizing consistency, and avoiding side effects.

7
New cards

Low-level Language

  • Closer to machine code and hardware in terms of syntax.

  • Provides direct control over the computers hardware and resources, allowing programmer to write codes at a more detailed level.

8
New cards

Assembly Language

  • uses specific instructions to control a computers hardware.

  • uses mnemonic code which are symbolic representations, to make machine instruction more human-readable compared to binary code.

9
New cards

Machine Language

  • all instructions are written as binary code (1’s and 0’s)

10
New cards

High-level Language

  • designed to be easy for humans to read, write, and understand, allowing programmers to write computer programs and interact with a computer system without needing specific knowledge about the processor or hardware.

11
New cards

Syntax

  • set of rules defining the various combinations and arrangements of symbols or characters to create a valid statement in a language.

12
New cards

Command

  • unique instruction given to a computer application to perform a task of a function such as “print” to display text on the screen.

13
New cards

integrated Development Environment (IDE)

  • software application for formatting the code, checking the syntax, and running and testing the code.

  • IDEs can work with multiple programming languages, while some are specific to only one language.

14
New cards

Library

  • collection of useful resources, such as objects and functions, that can be used individually and must be configured to work together.

  • It is pre-built or installed in an IDE or Integrated Development Environment.

15
New cards

Interpreter

  • program that directly executes instructions in a high-level language without converting them into a machine language.

16
New cards

Assembler

  • program that converts instructions written in low-level assembly code into relocatable machine language.

17
New cards

Compiler

  • program that converts high-level languages into machine readable code that a computer can execute.

18
New cards

algorithm

  • set of steps that generates a finite sequence of simple computational operations leading to the solution of a given problem.

  • It must be expressed in a natural language that anyone can follow, such as directions that can be written in English.

19
New cards

Process of algorithm

  1. Problem Analysis – evaluating and outlining the problem and its solution requirements

  2. Algorithm Design – designing an algorithm to solve problems.

  3. Coding – implementing the algorithm in a programming language.

  4. Execution – verifying whether the algorithm works or not

20
New cards

Problem Analysis

  • evaluating and outlining the problem and its solution requirements

21
New cards

Algorithm Design

  • designing an algorithm to solve problems.

22
New cards

Coding

  • implementing the algorithm in a programming language.

23
New cards

Execution

  • verifying whether the algorithm works or not.

24
New cards

Pseudocode

  • A technique used to describe the distinct steps of an algorithm, making it easier to understand for anyone with basic programming knowledge.

  • used as a blueprint for programming

25
New cards

Flowchart

  • diagrammatic representation of the steps of an algorithm.

  • pictorial representation that can be used as a substitute for an algorithm, as a textual description of an algorithm may not be understood easily.

26
New cards

Program flowcharts

  • illustrate the logical steps in a software program or programming task to understand a process, workflow, or algorithm.

27
New cards

System flowcharts

  • show how parts of a system work together by displaying the data flow and how decisions can affect the events surrounding it.

28
New cards

Java

  • free-to-use and highly dynamic high-level programming language for coding programs such as web applications, mobile applications, enterprise software, big data applications, and server-side technologies.

29
New cards

Who created Java

  • Sun Microsystem 1995

30
New cards

Java Runtime Environment (JRE)

  • software that Java programs require to run correctly.

  • provides the class libraries and other resources

    that any Java program needs.

  • subset of JDK

31
New cards

Active Community Support

  • Due to its popularity and longevity, java has many active users and a community that can support developers

32
New cards

High-Quality Learning Resources

  • learning resources such as detailed documentation, comprehensive boos, and courses are available to new programmers for additional support

33
New cards

Inbuilt Functions and Libraries

  • Developers does not need to write new functions from scratch as java provides a rich ecosystem of built-in functions and libraries to develop various application.

34
New cards

Security

  • Java security levels and restrictions are highly configurable; because of this, even untrusted code cannot harm the system

35
New cards

Platform Independent

  • can be written once and be used on every platform

  • Feature is called WORA (write once, run anywhere)

36
New cards

Java Virtual Machine (JVM)

  • virtual machine that runs Java applications as a run-time engine.

37
New cards

Compilers (JVM)

  • Written in natural English-like syntax

  • it translate the entire code into machine language

  • Converts source code into a binary program bytecode

38
New cards

Interpreters (JVM)

  • checks the bytecode and communicates with the operating system executing the code line by line.

39
New cards

Java APIs (Application Programming Interface)

  • Software that is bundled with the Java platform.

  • pre-written Java programs that plug and play existing functionality into code, such as getting the time and date

40
New cards

A class

  • basic unit of a Java program.

  • Defines a group of object that includes data members, which are places to store data

41
New cards

identifier

  • Name given to a program component, such as class, object, or variable.

42
New cards

Reserved Words

  • or keywords

  • specials words significant to the Java compiler