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 29
Ngày làm bài: Hôm nay lúc 00:24:05 (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-
Why would you use a structure?
  A - 
You use a structure to declare an instance of data group
  B - 
All of the above
  C - 
You use a structure to access parts of a data
  D - 
You use a structure to group together related data
2-
Why is the constructor of the QueueLinkedList class empty?
  A - 
because initialization of data members of the QueueLinkedList class is performed by the constructor of the LinkedList class.
  B - 
because initialization of data members of the QueueLinkedList class is performed by the destructor of the LinkedList class.
  C - 
because initialization of data members of the LinkedList class is performed by the destructor of the LinkedList class.
  D - 
because initialization of data members of the LinkedList class is performed by the constructor of the LinkedList class.
3-
You want to remove 12 from a BST. After that, the node on the right of node 5 is:


  A - 
19
  B - 
25
  C - 
Null
  D - 
21
4-
You have random access in O(1) to every element of an _______
  A - 
queue
  B - 
stack
  C - 
linked list
  D - 
array
5-
You are given a stack that holds data of type ’char’, operations 1 and 2 where 1=Push and 2=Push and the input sequence as ’abcdef’. What are the contents of the stack after the operation sequence: 11121221122.
(Note: First element is a the bottom).
  A - 
a
  B - 
db
  C - 
ab
  D - 
The stack underflows
6-
You are given a sorted list. Which method is likely to give the best pefromance in sorting the numbers in the same order as they are already sorted:
  A - 
Selection Sort
  B - 
Move list to Binary Tree
  C - 
All methods have the same performance
  D - 
Insertion Sort
7-
The destructor is responsible for allocating all the memory that was allocated for the linked list.
  A - 
None of the above
  B - 
Neither a) nor b)
  C - 
True
  D - 
False
8-
The Data type of a declaration statement tells how much ____ to reserve and the kind of ____that will be stored in that ____ location
  A - 
Address, Data, Memory
  B - 
Memory, Data, Memory
  C - 
Neither a) nor b)
  D - 
Both a) and b)
9-
Suppose we have the following declarations:
int x =0, y = 2; &z = y;
int * p = &z;
Which of the following statements is illegal?
  A - 
x = *p:
  B - 
z = *p:
  C - 
* p = y:
  D - 
* p = &z:
10-
Recursion has a serious disadvantage of using large amount of memory. Moreover, for most programming languages, recursion use stack store states of all currently active recursive calls. The size of a stack may be quite large, but limited. Therefore too deep recursion can result in ____
  A - 
Out of Memmory
  B - 
Haft Infinity Loop
  C - 
Stacks Overflow
  D - 
Memmory Overflow
 
[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 Java - Bài 21
Trắc nghiệm C++ - Bài 18
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 30
Trắc Nghiệm Thiết Kế Web (English) - Bài 04
Trắc nghiệm C++ - Bài 16
Trắc Nghiệm C Sharp - Bài 05
Trắc Nghiệm Thiết Kế Web - Bài 10
Trắc Nghiệm ASP.NET (English) - Bài 08
Trắc Nghiệm ASP.NET - Bài 10
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 75
Trắc Nghiệm Java - Bài 31
Trắc Nghiệm Thiết Kế Web - Bài 05
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 04
Trắc Nghiệm Visual Basic - Bài 19
Trắc Nghiệm Thiết Kế Web (English) - Bài 46
Trắc Nghiệm Visual Basic - Bài 17
Trắc Nghiệm ASP.NET (English) - Bài 04
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 18
Trắc Nghiệm ASP.NET (English) - Bài 16
Trắc Nghiệm Java - Bài 08
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