Bachelor Courses Review (Computer Science)

Bachelor Courses Review (Computer Science)

*Linear Algebra

Linear algebra is the branch of mathematics concerning linear equations. [wiki]

Core Knowledege

  1. Matrix

Matrix

Concept

In mathematics, a matrix is a rectangular array or table of numbers, symbols, or expressions, arranged in rows and columns, which is used to represent a mathematical object or a property of such an object.[wiki]

Application in Real Life

In computer graphics, matrices are used to describe geometric transformations of objects. Through matrix operations, operations such as translation, rotation, and scaling of objects can be realized, thereby generating various complex graphic effects.

In mathematics, matrices are often used to solve systems of linear equations. Matrix operations allow you to efficiently solve systems of linear equations with multiple unknowns.

Basic Operations

  1. Addition
  2. Multiplication
  3. Transposition
  4. Invertible Matrix

    https://www.shuxuele.com/algebra/matrix-inverse-minors-cofactors-adjugate.html

Determinant

In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. The determinant of a matrix A is commonly denoted det(A), det A, or |A|. Its value characterizes some properties of the matrix and the linear map represented, on a given basis, by the matrix. In particular, the determinant is nonzero if and only if the matrix is invertible and the corresponding linear map is an isomorphism. The determinant of a product of matrices is the product of their determinants.

Cofactor Formula

[wiki]

Cramer’s Formula

[wiki]

*Further Mathematics

Further Mathematics is the title given to a number of advanced secondary mathematics courses. The term “Higher and Further Mathematics”, and the term “Advanced Level Mathematics”, may also refer to any of several advanced mathematics courses at many institutions.

Derivative

[wiki]

Integral

[wiki]

*College Physics

In a high school or college physics course, students typically learn about fundamental concepts such as motion, forces, energy, and electricity. They also study topics like thermodynamics, waves, optics, and modern physics, including quantum mechanics and relativity. The courses often include laboratory work to provide hands-on experience and reinforce theoretical concepts. Additionally, students may learn about the history of physics and its impact on society and technology.

Particle Kinematics

A branch of classical mechanics that describes the motion of different particles in space without considering the forces that cause such motion.

Displacement

[wiki]

In geometry and mechanics, a displacement is a vector whose length is the shortest distance from the initial to the final position of a point P undergoing motion. It quantifies both the distance and direction of the net or total motion along a straight line from the initial position to the final position of the point trajectory. A displacement may be identified with the translation that maps the initial position to the final position. Displacement is the shift in location when an object in motion changes from one position to another.

Speed

[wiki]

In everyday use and in kinematics, the speed (commonly referred to as v) of an object is the magnitude of the change of its position over time or the magnitude of the change of its position per unit of time; it is thus a scalar quantity. The average speed of an object in an interval of time is the distance travelled by the object divided by the duration of the interval; the instantaneous speed is the limit of the average speed as the duration of the time interval approaches zero. Speed is the magnitude of velocity (a vector), which indicates additionally the direction of motion.

Acceleration

[wiki]

In mechanics, acceleration is the rate of change of the velocity of an object with respect to time. Acceleration is one of several components of kinematics, the study of motion. Accelerations are vector quantities (in that they have magnitude and direction). The orientation of an object’s acceleration is given by the orientation of the net force acting on that object.

Newton’s laws of motion

[wiki]

  1. First Law
    Every object perseveres in its state of rest, or of uniform motion in a right line, except insofar as it is compelled to change that state by forces impressed thereon.
  2. Second Law
    The change of motion of an object is proportional to the force impressed; and is made in the direction of the straight line in which the force is impressed.
  3. Third Law
    To every action, there is always opposed an equal reaction; or, the mutual actions of two bodies upon each other are always equal, and directed to contrary parts.

Work & Energy

[wiki]

In physics, work is the energy transferred to or from an object via the application of force along a displacement. In its simplest form, for a constant force aligned with the direction of motion, the work equals the product of the force strength and the distance traveled. A force is said to do positive work if when applied it has a component in the direction of the displacement of the point of application. A force does negative work if it has a component opposite to the direction of the displacement at the point of application of the force.

In physics, energy is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of heat and light. Energy is a conserved quantity—the law of conservation of energy states that energy can be converted in form, but not created or destroyed. The unit of measurement for energy in the International System of Units (SI) is the joule (J).

Work is used to quantify the change of Energy.

Electric field

[wiki]

Magnetic field

[wiki]

Probability Theory and Mathematical Statistics

Basics of Probability Theory

  1. Sample Space
  2. Event
  3. Probability
  4. Conditional Probability
  5. Independence

Random Variables and Distribution

  1. Random Variable
  2. Discrete Random Variable
  3. Continuous Random Variable
  4. Probability Mass Function, PMF
  5. Probability Density Function, PDF
  6. Cumulative Distribution Function, CDF

Distribution

  1. Bernoulli Distribution
  2. Binomial Distribution
  3. Geometric Distribution
  4. Poisson Distribution
  5. Uniform Distribution
  6. Exponential Distribution
  7. Normal Distribution

Microcomputer and Interface Technology

Composition

Random Access Memory, Central Processing Unit (CPU), Storage, Operating System, Input and Output devices.

BUS: In computer architecture, a bus[^[1]] (historically also called data highway[^[2]] or databus) is a communication system that transfers data between components inside a computer, or between computers.

Input-Output Interface

In micro-computer base system, the only purpose of peripheral devices is just to provide special communication links for the interfacing them with the CPU. To resolve the differences between peripheral devices and CPU, there is a special need for communication links.

The major differences are as follows:

  1. The nature of peripheral devices is electromagnetic and electro-mechanical. The nature of the CPU is electronic. There is a lot of difference in the mode of operation of both peripheral devices and CPU.
  2. There is also a synchronization mechanism because the data transfer rate of peripheral devices are slower than CPU.
  3. In peripheral devices, data code and formats are different from the format in the CPU and memory.
  4. The operating mode of peripheral devices are different and each may be controlled so as not to disturb the operation of other peripheral devices connected to CPU.

Functions of Input-Output Interface:

  1. It is used to synchronize the operating speed of CPU with respect to input-output devices.
  2. It selects the input-output device which is appropriate for the interpretation of the input-output signal.
  3. It is capable of providing signals like control and timing signals.
  4. In this data buffering can be possible through data bus.
  5. There are various error detectors.
  6. It converts serial data into parallel data and vice-versa.
  7. It also convert digital data into analog signal and vice-versa.

Mode of Data Transfer between CPU and peripheral devices

  1. Programmed I/O.
  2. Interrupt- initiated I/O.
  3. Direct memory access( DMA).

Serial interfaces and parallel interfaces.

Machine Instructions
Machine Instructions are commands or programs written in the machine code of a machine (computer) that it can recognize and execute.
Machine Instructions Used in 8086 Microprocessor
Data transfer: MOV, IN, OUT, LEA, LDS, LES, PUSH, XCHG, XLAT,
Arithmetic: ADD, SUB, ADC, SBB, INC, DEC, NEG, CMP, MUL, DIV, IMUL, IDIV, CBW, CWD, AAA, AAS, AAM, AAD, DAA, DAS
Logic: NOT, AND, OR, XOR, TEST, SHL, SHR,SAL, SAR,ROL, ROR,RCL, RCR
String manipulation: MOVS, MOVSB, MOVSW, CMPS, SCAS, LODS, STOS
Control transfer: JMP, JNZ
Loop control: LOOP, LOOPE, LOOPNE, JCXZ, CALL, RET, INT, INTO
Processor control: STC, CLC, CMC, STD, CLD,PUSHF, POPF

What is termed as Opcode in Machine Instructions?
Opcode (Operation Code) specifies the operation or action to be performed, such as addition or subtraction. It is a part of machine instruction.
How machine instructions are executed by CPU?
Machine Instructions are executed by CPU in following manner: CPU fetches, decodes, and executes machine instructions sequentially from memory as part of its instruction cycle.

Principles of Compiler

A high-level programming language is a language that has an abstraction of attributes of the computer. High-level programming is more convenient to the user in writing a program.

The compiler is software that converts a program written in a high-level language (Source Language) to a low-level language (Object/Target/Machine Language/0, 1’s).

Stages of Compiler Design

  1. Lexical Analysis: The first stage of compiler design is lexical analysis, also known as scanning. In this stage, the compiler reads the source code character by character and breaks it down into a series of tokens, such as keywords, identifiers, and operators. These tokens are then passed on to the next stage of the compilation process.
  2. Syntax Analysis: The second stage of compiler design is syntax analysis, also known as parsing. In this stage, the compiler checks the syntax of the source code to ensure that it conforms to the rules of the programming language. The compiler builds a parse tree, which is a hierarchical representation of the program’s structure, and uses it to check for syntax errors.
  3. Semantic Analysis: The third stage of compiler design is semantic analysis. In this stage, the compiler checks the meaning of the source code to ensure that it makes sense. The compiler performs type checking, which ensures that variables are used correctly and that operations are performed on compatible data types. The compiler also checks for other semantic errors, such as undeclared variables and incorrect function calls.
  4. Code Generation: The fourth stage of compiler design is code generation. In this stage, the compiler translates the parse tree into machine code that can be executed by the computer. The code generated by the compiler must be efficient and optimized for the target platform.
  5. Optimization: The final stage of compiler design is optimization. In this stage, the compiler analyzes the generated code and makes optimizations to improve its performance. The compiler may perform optimizations such as constant folding, loop unrolling, and function inlining.

String: a finite sequence of alphabets
Language: collection of strings
Regular Expression: a sequence of characters that specifies a match pattern in text.
Nondeterministic Finite Automaton: there is more than one possible transition from one state on the same input symbol.
Deterministic Finite Automaton: there is only one transition
context-free grammar: is a formal grammar whose production rules can be applied to a nonterminal symbol regardless of its context.
Terminal symbols: Terminal symbols are symbols that may appear in the outputs of the production rules of a formal grammar and which cannot be changed using the rules of the grammar.
Nonterminal symbols: Nonterminal symbols are those symbols that can be replaced
ambiguity: If a grammar has a certain sentence pattern that corresponds to two different grammar trees, the grammar is called an ambiguous grammar.

*Cloud Computing Technology

  1. Types of Cloud Computing Services:
    • Infrastructure as a Service (IaaS): Provides virtualized computing resources over the internet, such as virtual servers, storage, and networking.
    • Platform as a Service (PaaS): Offers a platform for developers to build, deploy, and manage applications without having to worry about the underlying infrastructure.
    • Software as a Service (SaaS): Delivers software applications over the internet on a subscription basis, eliminating the need for local installation and maintenance.
  2. Benefits of Cloud Computing:
    • Cost Savings: Cloud computing eliminates the need for upfront investments in hardware and software, and allows for pay-as-you-go pricing models.
    • Scalability: Cloud computing services can be easily scaled up or down based on demand, providing flexibility and agility.
    • Accessibility: Cloud services can be accessed from anywhere with an internet connection, enabling remote work and collaboration.
  3. Security and Compliance:
    • Cloud providers implement security measures to protect data and ensure compliance with regulations such as GDPR and HIPAA.
    • Encryption, access controls, and regular security audits are common practices to safeguard data in the cloud.
  4. Cloud Computing Platforms:
    • Popular cloud computing platforms include Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform, and IBM Cloud, offering a range of services for computing, storage, networking, and more.

Software Engineering

  1. Software Development Life Cycle (SDLC): The process of developing software applications typically follows a series of phases, including requirements gathering, design, implementation, testing, deployment, and maintenance.
  2. Software Design: The process of defining the architecture, components, interfaces, and data for a software application to meet the specified requirements.
  3. Programming Languages: Software engineers use programming languages such as Java, C++, Python, and JavaScript to write code for software applications.
  4. Software Testing: The process of evaluating a software application to ensure it meets the specified requirements and functions correctly. This may include unit testing, integration testing, system testing, and user acceptance testing.
  5. Software Maintenance: The ongoing process of updating, enhancing, and fixing bugs in software applications to ensure they remain functional and up-to-date with changing requirements and technologies.

Embedded Foundation

  1. Hardware Components: Embedded systems consist of hardware components such as microcontrollers, sensors, actuators, memory, and communication interfaces that are specifically designed for the intended application.
  2. Real-time Operating Systems: Embedded systems often require real-time operating systems (RTOS) to manage tasks and processes with precise timing constraints.
  3. Embedded Software Development: Embedded software is developed using programming languages such as C, C++, and assembly language to control the behavior of the hardware components and perform specific functions.
  4. Development Tools: Software engineers use integrated development environments (IDEs), compilers, debuggers, and simulators to develop, test, and debug embedded software.
  5. Interfacing and Communication: Embedded systems often require interfacing with external devices, sensors, and networks through communication protocols such as UART, SPI, I2C, Ethernet, and wireless protocols like Bluetooth and Wi-Fi.
  6. Power Management: Embedded systems are often designed to operate on limited power sources, so power management techniques such as low-power modes, sleep modes, and power optimization strategies are critical in embedded system design.

B/S System Design

  1. Client-Side Development: The client-side interface is typically developed using web technologies such as HTML, CSS, and JavaScript. The design should focus on creating a user-friendly interface that is accessible from various web browsers.
  2. Server-Side Development: The server-side logic is implemented using server-side programming languages such as Java, C#, PHP, or Node.js. The server processes requests from the client, performs business logic, and interacts with databases or other external systems.
  3. Communication Protocols: B/S systems typically use HTTP or HTTPS protocols for communication between the client and server. This allows for secure and reliable data exchange over the internet.
  4. Scalability and Performance: Design considerations should be made to ensure that the system can handle a large number of concurrent users and maintain performance under heavy loads. This may involve load balancing, caching, and other scalability techniques.
  5. Security: B/S system design should include security measures to protect against common threats such as cross-site scripting (XSS), SQL injection, and data breaches. This may involve implementing authentication, authorization, encryption, and other security features.

Principles of Database System

  1. Data Modeling: Data modeling involves designing the structure of the database, including defining tables, relationships between tables, and data attributes. In APS systems, data modeling is crucial for representing manufacturing processes, resources, scheduling constraints, and other relevant information.
  2. Data Integrity: Ensuring data integrity is essential in database systems to maintain the accuracy and consistency of data. APS systems rely on accurate and up-to-date data to generate optimal production plans and schedules.
  3. Query Optimization: Efficient query processing is critical in APS database systems to retrieve and manipulate data quickly. Proper indexing, data partitioning, and query optimization techniques are essential for optimizing database performance in APS applications.
  4. Data Security: Protecting sensitive manufacturing data is crucial in APS systems to prevent unauthorized access, data breaches, or tampering. Implementing access controls, encryption, and data backup strategies are essential for ensuring data security in APS database systems.
  5. Scalability and Performance: APS database systems need to be scalable to handle large volumes of manufacturing data and support complex scheduling algorithms. Ensuring high performance and scalability are key considerations in designing and managing database systems for APS applications.

Data Structure

Basic Concepts

  1. Data Structure
  2. Abstract Data Type, ADT
  3. Algorithm

Linear Data Structures

  1. Array
  2. Linked List
  3. Stack
  4. Queue

Tree Data Structure

  1. Tree
  2. Binary Tree
  3. Binary Search Tree, BST
  4. Heap

Graph

Hash

Complexity

  1. Time Complexity
  2. Space Complexity
  3. Worst-Case Analysis
  4. Average-Case Analysis

Sorting Algorithms

  1. Bubble Sort
  2. Selection Sort
  3. Insertion Sort
  4. Merge Sort
  5. Quick Sort

Searching Algorithms

  1. Linear Search
  2. Binary Search
  3. Depth-First Search, DFS
  4. Breadth-First Search, BFS

Recursion

  1. Recursive Function
  2. Recursion Tree

Computer Composition

Computer Architecture

  1. Von Neumann Architecture
  2. Harvard Architecture

Number Representation

  1. Binary Number
  2. Two’s Complement
  3. Floating-Point Representation
  4. Fixed-Point and Floating-Point

Arithmetic Logic Unit

  1. Logic Operations
  2. Arithmetic Operations
  3. Shift Operations

Instruction Set

  1. Instruction Format
  2. Opcode
  3. Address Code
  4. Instruction Set Architecture, ISA

Memory

  1. Primary Memory
  2. Secondary Memory
  3. Cache Memory
  4. Virtual Memory

I/O

  1. Input/Output Devices
  2. I/O Interface
  3. I/O Control Methods

CPU

  1. Register
  2. Program Counter, PC
  3. Instruction Register, IR
  4. Control Unit, CU

Instruction Execution Cycle

  1. Instruction Fetch
  2. Decode
  3. Execute
  4. Memory Access
  5. Write Back

Microinstruction & Microprogrammed Control

Bus

  1. Data Bus
  2. Address Bus
  3. Control Bus

Computer Network

Network Basics

  1. OSI: Open Systems Interconnection Model
  2. TCP/IP: Transmission Control Protocol/Internet Protocol Suite
  3. Protocol

Physical Layer

  1. Transmission Media
  2. Signal
  3. Encoding Techniques
  4. Multiplexing Techniques
  1. Frame
  2. Media Access Control Address
  3. Ethernet
  4. Switch

Network Layer

  1. Internet Protocol Address
  2. Subnet Mask
  3. Routing
  4. Router
  5. Internet Control Message Protocol
  6. Address Resolution Protocol

Transport Layer

  1. Transmission Control Protocol
  2. User Datagram Protocol
  3. Port Number
  4. Flow Control
  5. Congestion Control

Session Layer

  1. Session Management

Presentation Layer

  1. Data Representation
  2. Encoding and Decoding

Application Layer

  1. HTTP(Hypertext Transfer Protocol)
  2. FTP(File Transfer Protocol)
  3. SMTP(Simple Mail Transfer Protocol)
  4. DNS(Domain Name System)
  5. DHCP(Dynamic Host Configuration Protocol)

Cyber Security

  1. Encryption
  2. SSL/TLS(Secure Sockets Layer/Transport Layer Security)
  3. Firewall
  4. Intrusion Detection System, IDS
  5. Virtual Private Network, VPN

Digital Logic

  1. Overview of digital systems, number systems, and Boolean algebra
  2. Logic Gates
  3. Combinational Logic
  4. Sequential Logic
  5. Digital Integrated Circuits
  6. Boolean Functions
  7. Logic Families
  8. Digital Timing
  9. Hazard Analysis
  10. Digital Simulation

Object-Oriented Programming Design

Basics of C++

Static typing, conditions, loops, functions, structs, and vectors

Basic OOP Concepts

Data hiding, encapsulation, and delegation

Pointers

Addresses, pointer types, pointers with const, dynamic memory

Copy Control and Move Semantics

Implementing the vector type

Cyclic Association and Separate Compilation

Class templates, operator overloading, iterators

Inheritance

Inheritance concepts and implementation

Generic Programming

Class and function templates

STL

Collections, containers, algorithms, functors, lambda expressions

Exceptions and Assertions

Error handling in C++

Operating System

Operating System Overview

  1. Definition of Operating System
  2. Functions of Operating System
  3. Classification of Operating Systems

Process Management

  1. Process
  2. Thread
  3. Process State
  4. Process Scheduling
  5. Deadlock
  6. Synchronization and Mutual Exclusion

Job Management

  1. Job
  2. Job Scheduling
  3. Batch Processing System

Memory Management

  1. Memory Allocation
  2. Address Translation
  3. Virtual Memory
  4. Page Replacement Algorithms
  5. Segmentation and Paging

File System

  1. File
  2. File System
  3. File Operations
  4. File Structure
  5. Directory Structure
  6. File Access Control

I/O Management

  1. Input/Output Devices
  2. I/O Control Methods
  3. Device Driver
  4. Buffering Techniques

Device Management

  1. Device Allocation
  2. Device Independence
  3. Disk Scheduling

Bachelor Courses Review (Computer Science)

https://thelynan.com/study/cs-courses-review/

Author

Lynan

Posted on

2024-01-01

Licensed under

Comments