GMT: Thứ Tư, ngày 20  tháng 3, năm 2019 . .   
Đăng nhập tạm thời:  

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   
 C#     C++     Visual Basic     Visual Foxpro     C     Java     Pascal     Thiết Kế Web     ASP.NET     XML     CSS     PHP   

Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 16
Suppose that the following function. int sss(int x) { if (x % 2 = = 0) return x+1; else return (x – 1)*sss(x + 1); } Determine the output of the following statement. println(sss(3)); a. 8 b. 10 c. 12 d. 9.... Suppose cursor refers to a node in a linked list (using the IntNode struct with instance variables called data and link). What statement changes cursor so that it refers to the next nodes? a. vursor = link: b. cursor++: c. cursor = cursor.link: d. cursor += link:.....
Thời gian bắt đầu: Hôm nay lúc 06:11:06(Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Thời gian làm bài: 20 phút.  Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:
1-
Suppose that the following function.
int sss(int x) {
if (x % 2 = = 0)
return x+1;
else
return (x – 1)*sss(x + 1);
}
Determine the output of the following statement.
println(sss(3));
A-
8
B-
10
C-
12
D-
9
2-
Suppose cursor refers to a node in a linked list (using the IntNode struct with instance variables called data and link).
What statement changes cursor so that it refers to the next nodes?
A-
vursor = link:
B-
cursor++:
C-
cursor = cursor.link:
D-
cursor += link:
3-
Suppose cursor refers to a node in a linked list (using the IntNode struct with instance variables called data and link). What boolean expression will be true when cursor refers to the tail node of the list?
A-
(cursor.data = = null)
B-
(cursor.link = = null)
C-
(cursor = = null)
D-
(cursor.data = = 0.0)
4-
Suppose T is a binary tree with 14 nodes. What is the minimum possible depth of T?
A-
4
B-
5
C-
3
D-
0
5-
The following items are inserted into a AVL tree: 12, 10, 8, 5 #
A-
8
B-
5
C-
10
D-
12
6-
The address of the first element of an array is called the ____ of the array and the name of the array is actually a ____ to this element
A-
Both a) and b)
B-
constant pointer, base address
C-
base address, constant pointer
D-
Neither a) nor b)
7-
The following items are inserted into a AVL tree: 6, 2, 4, 8, 10 #
A-
4
B-
2
C-
8
D-
10
8-
The integer range of standard ASCII codes is:
A-
-128 to +127
B-
0 to 65,535
C-
0 to 127
D-
0 to 270
9-
The Data type of a declaration statement tells how much ____ to reserve and the kind of ____that will be stored in that ____ location
A-
Memory, Data, Memory
B-
Address, Data, Memory
C-
Both a) and b)
D-
Neither a) nor b)
10-
The dereferencing operator *:
A-
dereferences a pointer so that one is manipulating the value the pointer points to
B-
must be used to indicate the value whose address is held in a pointer
C-
allows one to use a pointer to gain indirect access to a value
D-
All of the others answers
[ Thành Lãm - ST ]

Chia sẻ trên Facebook   Google Boomarks   Google Buzz    Xem: 930. Đăng: 27-06-2012.   

Support Link:
Thông tin trang Web. Online since: 2011.
Disclaimer of Liability and Endorsement:
free counters
VNEDU.ORG IS A NON-PROFIT WEBSITE! All contents throughout this website are from Internet and other sources and are posted by users, copyright belongs to its original author. VNEDU.ORG stores for educational purpose only. VNEDU.ORG resumes no responsibility and liability, make no promise, or guarantee for the accuracy or efficiency of any content. If you find any content that is in violation of copyright laws, please notify us and we will immediately remove them. Thank you for visiting VNEDU.ORG