Test of programming C P5
- Question 1. Which of the following signs indicates the node p of a single linked list is the last right node:
- (p-> info! = NULL);
- (p-> info == NULL);
- (p-> next! = NULL);
- (p-> next == NULL);
-
- Question 2. When removing node x in the search binary tree, we only need to check that:
- x is the left leaf node of the binary search tree or not
- x is the right leaf node of the binary search tree
- The existence of x on the tree
- All 3 answers above
-
- Question 3. Which of the following mechanisms is installed for the queue:
- FIFO
- Round Robin
- Sequentially
- FILO
-
- Question 4. Which of the following signs indicates a single list of empty links:
- (p-> right == NULL);
- (p-> info == NULL);
- (p == NULL);
- (p-> next == NULL);
-
- Sentence 5. Which sign indicates that the right node of p has the right subtree:
- (p-> right! = NULL);
- (p-> left! = NULL);
- (p-> right! = NULL) && (p-> right-> right == NULL);
- (p-> right! = NULL) && (p-> right-> right! = NULL);
-
- Question 6. Which of the following mechanisms is installed for Stack:
- FILO
- Sequentially
- Round Robin
- FIFO
-
- Question 7. A binary tree is called true if:
- The original node and all intermediate nodes have 2 child nodes
- The key value of the root node is always greater than the value of the keys of the right sub-branch
The key value of the root node is always greater than the value of the keys of the left sub-branch- Both the root node and intermediate nodes have two child nodes and the leaf nodes have the same level
-
- Question 8. When performing the operation of adding a leaf node x to the right of node p of the normal binary tree, we need:
- Check for the existence of p and the right leaves p;
- Check the existence of leaf nodes on the right p
- Check for the existence of node p
- There is no need to perform all three conditions outlined in the question
-
- Question 9. For the following program section:
int a, * p, * q;
float * t;
a = 5; p = & a;
p = q;
t = p;
printf ('% d% f', a, t);- 5-12
- 5
- Program error
- Other results
-
- Question 10. The number of colors can be displayed in graphic mode due to what factors:
- The number of bits corresponds to 1 pixel
- Screen resolution
- Due to screen size
- Not the above 3 factors
-
5 ★ | 1 Vote
You should read it
- Test about programming C P2
- Test about C programming
- Test about programming C P3
- Set of multiple choice questions about programming with P17 prize
- Set of multiple choice questions about programming with P12
- Set of multiple choice questions for programming with P8 prizes
- Set of multiple choice questions about programming with P10 prize
- A set of multiple choice questions for programming has a P2 prize
May be interested
- What do you know about C # P3 programming language?c # is an object-oriented programming language developed by microsoft, the start of their .net plan. please invite the network administrator to learn about this topic through the quiz below.
- What do you know about C # P2 programming language?please read the knowledge with multiple choice questions around our c # programming topic below. the question set will have 10 sentences, 4 answers each and you should choose the correct answer.
- What do you know about programming language C # P1c # programming language is developed based on c and c ++ programming languages. in the article below, network administrator will go with you to learn about c # programming language through multiple choice questions. let's start.
- Multiple choice questions P2 web designcurrently web design is more and more interested, because a beautiful and lively website can attract many interested people. in this article, network administrators will not give articles but instead multiple choice questions related to this topic, please consult.
- PowerPoint informatics test P5to make your presentation more interesting and new, tools like powerpoint will help you a lot. in this article, network administrator will learn with you about this tool through the following extremely interesting multiple choice questions.
- PowerPoint informatics test P6to create an impression for a presentation with listeners, in addition to good content, beautiful powerpoint slides will help you a lot. in this article, network administrator will send a set of multiple choice questions about powerpoint.