Kiểm Tra 15 pHút (Lần 1) Học Kỳ 1 - Lớp 11

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Nguyen Thanh
N
Nguyen Thanh
Community Contributor
Quizzes Created: 1 | Total Attempts: 437
| Attempts: 437 | c�u hi: 23
Please wait...
Question 1 / 23
0 %
0/100
Score 0/100
1. Các tên sau đây, tên nào là sai:

Explanation

The name "Ho-ten" is the incorrect one because it contains a hyphen, which is not allowed in a name. The other three names, "Hoten1," "Ho_ten," and "Hoten," do not have any invalid characters and are therefore correct.

Submit
Please wait...
About This Quiz
Kiểm Tra 15 pHút (Lần 1) Học Kỳ 1 - Lớp 11 - Quiz

2. Trong các tên sau tên nào là tên dành riêng?

Explanation

The word "Program" is a noun that refers to a set of instructions or a plan of action for a computer to follow. It is a specific term that is used to describe a particular type of software or application. In contrast, the other words "Loading," "Star," and "Work" are more general and can be used in various contexts, not specifically related to computers or software. Therefore, "Program" is the name that is dedicated exclusively to a specific concept, making it the correct answer.

Submit
3. Tên nào sai trong các tên sau?

Explanation

The correct answer is "11_TinHọc" because it contains a number at the beginning, which is not a valid character for a name. In programming, variable names usually cannot start with a number.

Submit
4. Dựa vào khái niệm tên khi đặt tên trong ngôn ngữ lập trình Pascal. Hãy giải thích vì sao tên  20_THANG_11  sai?

Explanation

Tên 20_THANG_11 không đúng vì nó bắt đầu bằng chữ số. Trong ngôn ngữ lập trình Pascal, tên biến không được phép bắt đầu bằng chữ số. Tên biến phải bắt đầu bằng một chữ cái hoặc dấu gạch dưới (_) và sau đó có thể chứa chữ cái, chữ số và dấu gạch dưới.

Submit
5. Hằng và biến khác nhau cơ bản như thế nào?

Explanation

The correct answer explains that constants (hằng) are quantities whose values cannot be changed during the execution of a program, while variables (biến) are quantities whose values can be changed. It also states that constants do not need to be declared, while variables need to be declared. Therefore, the correct answer accurately describes the basic difference between constants and variables.

Submit
6. Loại hằng nào sau đây không thuộc ba loại  hằng trong ngôn ngữ lập trình?

Explanation

The given correct answer is "Hằng dành riêng". This answer is correct because "Hằng dành riêng" refers to a special type of constant that is reserved for specific purposes in programming languages. It is not one of the three common types of constants in programming languages, which are "Hằng xâu" (string constants), "Hằng số học" (numeric constants), and "Hằng logic" (boolean constants). "Hằng dành riêng" may include constants such as NULL or TRUE/FALSE, which have predefined meanings and are used for specific operations or conditions in programming.

Submit
7. Tên trong chương trình thì không được đặt bắt đầu bằng?

Explanation

The answer is "Chữ số" because the question asks for the starting character that is not allowed in program names. Program names cannot start with a number, so "Chữ số" is the correct answer.

Submit
8. Chương trình dịch là:

Explanation

The correct answer is "Chương trình có chức năng chuyển đổi chương trình được viết bằng ngôn ngữ lập trình bậc cao thành chương trình thực hiện được trên máy tính cụ thể." This answer accurately describes the process of translation in programming, where a high-level programming language is converted into a machine-executable program. The other options either describe the translation of natural language to machine language or the translation of machine language to high-level language, which are not the primary functions of a compiler or translator.

Submit
9. Đại lượng dùng để lưu trữ giá trị và giá trị có thể được thay đổi trong quá trình thực hiện chương trình gọi là:

Explanation

The correct answer is "Biến" (Variables). In programming, variables are used to store values that can be changed during the execution of a program. They provide a way to store and manipulate data, allowing programmers to create dynamic and flexible programs. Unlike constants (Hằng), variables can be assigned new values multiple times throughout the program.

Submit
10. Thành phần nào không được dùng đặt tên trong ngôn ngữ lập trình Pascal?

Explanation

In the programming language Pascal, characters other than letters, digits, and underscores are not allowed as part of variable names. These characters are considered special characters and cannot be used for naming variables.

Submit
11. Hằng nào sau đây là hằng xâu  trong ngôn ngữ lập trình Pascal?

Explanation

The correct answer is '123'. In Pascal programming language, single quotes are used to represent character literals. Therefore, '123' is a character literal in Pascal. On the other hand, 123 without quotes is an integer literal, TRUE is a boolean literal, and "123" is a string literal.

Submit
12. Biểu diễn hằng nào sau đây là đúng?

Explanation

The given expression "20.65" is the only one that is a valid representation of a decimal number. The other options "10,05" and "10E" are not valid decimal representations. "5D + A" is not a valid representation of a number at all as it includes letters and symbols. Therefore, the correct answer is "20.65".

Submit
13. Input của chương trình dịch là:

Explanation

The correct answer is "Chương trình nguồn" because the input of the translation program is "Chương trình nguồn" which means "source code" in English. The other options listed are different types of programs or processes related to translation, but they are not the actual input of the program.

Submit
14. Biên dịch là:

Explanation

The correct answer is "Dịch toàn bộ chương trình nguồn" which means "Translate the entire source code". This answer suggests that the process involves translating the entire source code of a program. This is a common step in programming where the source code is converted into machine-readable instructions that can be executed by a computer.

Submit
15. Thành phần nào sau đây không thuộc thành phần cơ bản của ngôn ngữ lập trình

Explanation

Ngữ pháp (grammar) is not a fundamental component of programming languages. While it is important in human languages, programming languages have their own syntax and rules that are different from natural languages. Therefore, ngữ pháp is not considered a basic component of programming languages.

Submit
16. Trong quá trình dịch chương trình ta sử dụng chương trình nào để phát hiện lỗi ngữ nghĩa

Explanation

In the process of translating a program, we use a compiler program to detect semantic errors. A compiler is a program that translates the source code of a program into machine code or byte code that can be executed by a computer. It performs various checks and analyzes the code for any semantic errors, such as type mismatches or undefined variables. Therefore, the correct answer is "Trình biên dịch" which translates to "Compiler" in English.

Submit
17. Loại tên nào sau đây không thuộc loại tên trong ba loại tên của một ngôn ngữ lập trình?

Explanation

The given answer states that "Tên chương trình" (program name) does not belong to any of the three types of names in a programming language. The three types of names mentioned are "Tên do người lập trình tự đặt" (user-defined names), "Tên dành riêng" (reserved names), and "Tên chuẩn" (standard names). The answer implies that "Tên chương trình" does not fall under any of these categories, suggesting that it is not a user-defined name, reserved name, or standard name.

Submit
18. Tên nào trong các loại tên của ngôn ngữ lập trình được ngôn ngữ lập trình quy định dùng với ý nghĩa riêng xác định?

Explanation

The correct answer is "Tên dành riêng" because in programming languages, reserved words or keywords are used with specific meanings and cannot be used as variable or function names. These reserved words are reserved for the programming language itself and have predefined functionalities. Using them as variable or function names would result in syntax errors or unexpected behaviors in the program. Therefore, it is important to avoid using reserved words as names and choose unique and meaningful names for variables and functions.

Submit
19. Biểu diễn hằng nào không phải là biểu diễn hằng trong pascal?

Explanation

The given expression "A12B" is not a constant expression in Pascal because it contains alphabetic characters along with numeric characters. In Pascal, a constant expression can only consist of numeric values and operators.

Submit
20. Trong Turbo Pascal, chiều dài tối đa của tên đối tượng là :

Explanation

In Turbo Pascal, the maximum length of an object name is 127 characters.

Submit
21. Trong Free Pascal, chiều dài tối đa của tên đối tượng là:

Explanation

In Free Pascal, the maximum length of an object name is 255.

Submit
22. Tên nào trong các loại tên của ngôn ngữ lập trình được ngôn ngữ lập trình dùng với ý nghĩa nhất định nào đó?

Explanation

The correct answer is "Tên chuẩn" because in programming languages, standard names are used to refer to specific concepts, functions, or variables. These standard names are agreed upon by the programming community and are used to ensure consistency and readability in code.

Submit
23. Trong Pascal, các đoạn chú thích được đặt giữa cặp dấu nào?

Explanation

In Pascal, chú thích (comments) are placed between the pair of square brackets [ and ].

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 12, 2017
    Quiz Created by
    Nguyen Thanh
Cancel
  • All
    All (23)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Các tên sau đây, tên nào là...
Trong các tên sau tên nào là...
Tên nào sai trong các tên sau?
Dựa vào khái niệm tên khi đặt tên...
Hằng và biến khác nhau cơ bản như thế...
Loại hằng nào sau đây không thuộc ba...
Tên trong chương trình thì không được đặt bắt...
Chương trình dịch là:
Đại lượng dùng để lưu trữ giá trị và...
Thành phần nào không được dùng đặt...
Hằng nào sau đây là hằng xâu...
Biểu diễn hằng nào sau đây là đúng?
Input của chương trình dịch là:
Biên dịch là:
Thành phần nào sau đây không thuộc...
Trong quá trình dịch chương trình ta sử dụng chương...
Loại tên nào sau đây không thuộc loại...
Tên nào trong các loại tên của...
Biểu diễn hằng nào không phải là biểu...
Trong Turbo Pascal, chiều dài tối đa của tên...
Trong Free Pascal, chiều dài tối đa của tên đối...
Tên nào trong các loại tên của...
Trong Pascal, các đoạn chú thích được...
Alert!

Advertisement