Computer Science Fundamentals
12 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Loại cấu trúc dữ liệu nào lưu trữ các phần tử cùng loại trong các vị trí bộ nhớ liền kề nhau?

  • Hàng đợi
  • Mảng (correct)
  • Ngăn xếp
  • Danh sách liên kết

Nguyên tắc nào sau đây là đúng trong chuẩn hình thứ nhất (1NF)?

  • Mỗi table cell chứa nhiều giá trị
  • Mỗi table cell chứa một bảng con
  • Mỗi table cell chứa một giá trị duy nhất (correct)
  • Mỗi table cell chứa giá trị null

Lớp nào trong mô hình OSI xử lýRouting dữ liệu giữa các mạng?

  • Lớp liên kết dữ liệu (Layer 2)
  • Lớp vật lý (Layer 1)
  • Lớp giao vận (Layer 4)
  • Lớp mạng (Layer 3) (correct)

Bộ phận nào của hệ điều hành quản lý tài nguyên phần cứng và phần mềm?

<p>Kernel (B)</p> Signup and view all the answers

Quá trình nào sau đây được hệ điều hành quản lý?

<p>Quá trình Scheduling (D)</p> Signup and view all the answers

Mục đích của quản lý bộ nhớ trong hệ điều hành là gì?

<p>Phân bổ và bảo vệ bộ nhớ (B)</p> Signup and view all the answers

Bộ phận nào của CPU thực hiện các phép toán số học và logic?

<p>Arithmetic Logic Unit (ALU) (C)</p> Signup and view all the answers

Mô hình nào được sử dụng để thiết kế và phát triển phần mềm hiệu quả?

<p>Software Development Life Cycle (SDLC) (A)</p> Signup and view all the answers

Phương pháp nào được sử dụng để phân bổ tài nguyên bộ nhớ hiệu quả trong hệ điều hành?

<p>Non-Contiguous allocation (D)</p> Signup and view all the answers

Cấu trúc dữ liệu nào được sử dụng để lưu trữ các phần tử cùng loại và thực hiện các phép toán chèn, xóa và tìm kiếm?

<p>Arrays (D)</p> Signup and view all the answers

Thuật toán nào được sử dụng để sắp xếp các phần tử trong một danh sách?

<p>Bubble Sort (D)</p> Signup and view all the answers

Thuật toán nào được sử dụng để tìm kiếm các phần tử trong một danh sách đã được sắp xếp?

<p>Binary Search (D)</p> Signup and view all the answers

Study Notes

Data Structures

Types of Data Structures

  • Arrays: a collection of elements of the same data type stored in contiguous memory locations
  • Linked Lists: a dynamic collection of elements, each pointing to the next element
  • Stacks: a Last-In-First-Out (LIFO) data structure with push and pop operations
  • Queues: a First-In-First-Out (FIFO) data structure with enqueue and dequeue operations
  • Trees: a hierarchical data structure with nodes and edges
  • Graphs: a non-hierarchical data structure with nodes and edges

Data Structure Operations

  • Insert: adding an element to a data structure
  • Delete: removing an element from a data structure
  • Search: finding an element in a data structure
  • Traversal: visiting each element in a data structure

Database Systems

Database Concepts

  • DBMS (Database Management System): a software system that manages databases
  • Schema: the overall structure of a database
  • Instance: the actual data stored in a database
  • SQL (Structured Query Language): a language for managing relational databases

Database Normalization

  • First Normal Form (1NF): each table cell contains a single value
  • Second Normal Form (2NF): each non-key attribute depends on the entire primary key
  • Third Normal Form (3NF): if a table is in 2NF, and a non-key attribute depends on another non-key attribute, then it should be moved to a separate table

Computer Networks

Network Fundamentals

  • Network Topology: the physical and logical arrangement of devices in a network
  • Network Protocols: rules and standards governing data communication
  • IP Address: a unique identifier for a device on a network

Network Layers (OSI Model)

  • Physical Layer (Layer 1): defines physical means of data transmission
  • Data Link Layer (Layer 2): provides error-free transfer of data frames
  • Network Layer (Layer 3): routes data between networks
  • Transport Layer (Layer 4): provides reliable data transfer between devices
  • Session Layer (Layer 5): establishes, manages, and terminates connections
  • Presentation Layer (Layer 6): converts data into a format for transmission
  • Application Layer (Layer 7): provides services and interfaces for applications

Operating Systems

OS Components

  • Kernel: the core of the OS, managing hardware and software resources
  • Device Drivers: software components that interact with hardware devices
  • System Calls: interfaces between applications and the OS

Process Management

  • Process: a program in execution, with its own memory space and system resources
  • Process Scheduling: the OS allocates CPU time to processes
  • Process Synchronization: coordinating access to shared resources

Memory Management

  • Memory Allocation: the OS manages memory for running programs
  • Memory Protection: the OS prevents programs from accessing unauthorized memory regions

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

This quiz covers the basics of computer science, including data structures, database systems, computer networks, and operating systems. Test your knowledge of arrays, linked lists, stacks, queues, trees, graphs, and more.

Use Quizgecko on...
Browser
Browser