Tìm kiếm:
TRANG NHÀ
Giới thiệu VNEDU.ORG
Điều khoản và bản quyền
Liên lạc VNEDU
TRẮC NGHIỆM TRỰC TUYẾN
---Công Cụ:---
Soạn Biểu thức
Bảng màu HTML
Ký hiệu đặc biệt 01
Ký hiệu đặc biệt 02
Ký hiệu đặc biệt 03
Ký hiệu đặc biệt 04
Ký hiệu đặc biệt 05
Ký hiệu đặc biệt 06
Ký hiệu đặc biệt 07
Ký hiệu đặc biệt [Toán]
Tin Học   ||  Căn Bản    Văn Phòng    Hệ Thống - Mạng    Phần Mềm Ứng Dụng    Kỹ thuật số    Lập trình    SQL  

Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 09
Ngày làm bài: Hôm nay lúc 04:05:15 (Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Yêu cầu hoàn thành: 60 phút.
Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:


1-
Given the declaration below of a two-dimensional, integer array in C
Int dat [3] [3] = { {1, 2, 3}, {10, 20, 30}, {100, 200, 300} };
What further can be said:
  A - 
The value "*data + 1" points to the next element of the array
  B - 
None od the others answers
  C - 
The values "data + 1" and "*data + 1" point to the same location
  D - 
The value "data + 1" points to the next row of the array
2-
Given the following tree. Is it an AVL tree?


  A - 
No, it is not an AVL tree. Node 10 violates the AVL property
  B - 
No, it is not an AVL tree. Node 3 violates the AVL property
  C - 
Yes, it is AVL tree. The AVL property holds at every node
  D - 
No, it is not an AVL tree. Node 46 violates the AVL property
3-
Giving a double linked lisy managing by pHead and pTail below:
struct NODE {
NODE *next;
NODE *prev;
int Data;
};
NODE *pHead, *pTail;
You want to make a function – DisplayAllNodeFromEnding – for display all data in nodes form
the end to the begin of of the list.
Select valid segment code.
  A - 
for(temp = pTail; temp != NULL; temp = temp->next)
cout<Data<<" ";
  B - 
for(temp = pTail; temp = = NULL; temp = temp->prev)
cout<Data<<" ";
  C - 
for(temp = pHead; temp != NULL; temp = temp->next)
cout<Data<<" ";
  D - 
for(temp = pHead; temp = = NULL; temp = temp->prev)
cout<Data<<" ";
4-
Giving code segement:
s=90;
if (s>90)
t= ’A’;
if (s>=80)
t= ’B’;
cout< Select result after running code segment?
  A - 
A
  B - 
AB
  C - 
B
  D - 
Code segment have error
5-
Giving code segement:
int i-12, j=0;
while (i>8)
{
i = i-1;
j = j+1;
}
cout< Select result of (j) after running code segment?
  A - 
11
  B - 
38
  C - 
45
  D - 
21
6-
Here is a small binary tree of integers.
The left-most node of the right node of the root node of the tree has value.
  A - 
40
  B - 
1
  C - 
12
  D - 
15
7-
How do you assign an address to an element of a pointer array?
  A - 
By using the address operator, which is the Double-asterisks (**), in an assignment statement
  B - 
By using the address operator, which is the ampersand (&), in an assignment statement
  C - 
Nonde of the above
  D - 
By using address operator, which is the asterisks (*), in an assignment statement
8-
How many parts are there in a declaration statement?
  A - 
2
  B - 
4
  C - 
1
  D - 
3
9-
How many times would the line "do_bench ()" run in the following looping example:
For (3 sets)
{
For (5 repetitions)
{
do_bench ();
}
}
  A - 
8
  B - 
5
  C - 
15
  D - 
3
10-
How can a node be inserted in the middle of a linked list?
  A - 
By repointing only the next elements of existing node to the new node
  B - 
By repointing the previous and the next element of existing nodes to the new node
  C - 
None of the above
  D - 
By repointing only the Previous elements of existing node to the new node
 
[Người đăng: Thành Lãm - ST]
Ghé thăm Kênh của Vị Sư "hai lần chết đi sống lại"
Tu Si Chau Soc Thon

https://www.youtube.com/channel/UCoyC9WTTVR-M3qpTKKEXGnQ

Chau Soc Thon Official Channel


Phong Bảo Official
Phong Bao Official
Xem Nhiều nhất
Trắc Nghiệm Pascal - Bài 20
Trắc Nghiệm ASP.NET - Bài 12
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 16
Trắc Nghiệm ASP.NET - Bài 01
Trắc Nghiệm ASP.NET - Bài 03
Trắc nghiệm C++ - Bài 18
Trắc Nghiệm C# - Bài 53
Trắc Nghiệm ASP.NET - Bài 02
Trắc Nghiệm C# - Bài 42
Trắc Nghiệm Java - Bài 01
Trắc Nghiệm ASP.NET - Bài 04
Trắc Nghiệm Pascal - Bài 22
Trắc Nghiệm ASP.NET - Bài 13
Trắc Nghiệm ASP.NET - Bài 09
Trắc Nghiệm ASP.NET - Bài 08
Trắc nghiệm PHP - Bài 01
Trắc Nghiệm ASP.NET - Bài 06
Trắc Nghiệm ASP.NET - Bài 11
Trắc Nghiệm ASP.NET - Bài 05
Trắc Nghiệm ASP.NET - Bài 23
Đề Xuất
Trắc nghiệm CSS - Bài 02
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 31
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 14
Trắc Nghiệm Java - Bài 14
Trắc nghiệm XML - Bài 23
Trắc Nghiệm C Sharp - Bài 11
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 12
Trắc nghiệm Linux ( English ) - Bài 28
Trắc Nghiệm Thiết Kế Web - Bài 11
Trắc Nghiệm Java - Bài 52
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 61
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 20
Trắc Nghiệm ASP.NET (English) - Bài 13
Trắc Nghiệm C Sharp - Bài 20
Trắc Nghiệm ASP.NET (English) - Bài 31
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 12
Trắc Nghiệm Visual Foxpro - Bài 10
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 29
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 37
Trắc Nghiệm Thiết Kế Web (English) - Bài 44
Phát triển hệ thống: TRƯƠNG HỮU ĐỨC - Phiên bản 3.0 - © Copyright 2013 - 2024 - VNEDU.ORG

free counters