A set of multiple choice questions for programming has a P2 prize

Programming is the use of programming languages ​​and utility tools to build applications and executable programs on computers for life. In this article, invite readers to test their knowledge and multiple choice questions around this topic.

  1. Question 1. Which of the following statements is true?
    1. The semantics in programming language depends very much on the will of the programmer
    2. Each programming language has 3 components: alphabet, syntax and semantics, so declaring data types, constants, variables, . is applied equally to all programming languages
    3. The syntax of a programming language is a set of rules that allow programmers to write programs in that language
    4. Programming languages ​​have the same set of letters
  2. Question 2. Which of the following statements is true?
    1. In addition to the alphabet, syntax, semantics, a programming language also has rules for declaring variables and constants
    2. In addition to the alphabet, common mathematical characters can be used to write a program
    3. Programs with syntax errors can be translated into machine language but failed
    4. Syntax is a set of rules used to write programs
  3. Question 3. Choose the right opinion in the following comments:
    1. The program gave the right results when implementing 20 tests / 20 tests, the program was correct
    2. The program gives wrong results when performing a test, the program is wrong
    3. Test sets with large data sizes are more likely to detect program errors than testers with small data sizes.
    4. When the program fails to see errors, it can be concluded that the program is correct
  4. Question 4. Which of the following statements is most reasonable:
    1. The variable is the quantity that receives the value before the program executes
    2. Variables are named quantities and are valid for changes during program execution
    3. Variables can store different types of values
    4. Variables may or may not be named
  5. Question 5. Which of the following statements is most reasonable?
    1. The variable used in the program must be declared
    2. The variable is ignored by the program
    3. Variables can store different types of values
    4. The variable is the quantity that receives the value before the program executes
  6. Question 6. Which of the following statements is most reasonable
    1. Hang is the quantity to receive value before the program
    2. Hang is a named quantity and is valuable to change during program implementation
    3. Hang can store many different types of values
    4. Hang was ignored by the program
  7. Question 7. Which of the following statements is most reasonable:
    1. The name is the quantity that receives the value before the program executes
    2. The name is named quantity and is valuable to change during the program implementation
    3. Names can store many different types of values
    4. The name is set by the programmer according to the rules defined by each programming language
  8. Question 8. Choose the correct constant representation in the following representations:
    1. Begin
    2. 58.5
    3. '65
    4. 1024
  9. Question 9. Please choose to represent the correct name in the following performances
    1. '*****'
    2. -tenkhongsai
    3. (bai_tap)
    4. Tensai
  10. Question 10. The language program does not have any characteristics in the following characteristics:
    1. Easier to program than high-level languages
    2. The performance is faster than the program written in high-level languages
    3. Close to machine language
    4. Make full use of computer capabilities
Update 24 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile