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 40
Ngày làm bài: Hôm nay lúc 01:54:18 (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-
Which of the following statements is correct?
1/ Change a reference changes the referent.
2/ We can create an array of references.
  A - 
Only 1 is correct.
  B - 
Only 2 is correct.
  C - 
Both 1 and 2 are correct.
  D - 
Both 1 and 2 are incorrect.
2-
Which of the following statement is correct about the references?
  A - 
A reference must always be initialized within functions.
  B - 
A reference must always be initialized outside all functions.
  C - 
A reference must always be initialized.
  D - 
Both A and C.
3-
A reference is declared using the _____ symbol.
  A - 
&&
  B - 
&
  C - 
||
  D - 
!
4-
Which of the following statement is correct?
  A - 
Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
  B - 
A reference is indicated by using && operator.
  C - 
Once a reference variable has been defined to refer to a particular variable it cannot refer to any other variable.
  D - 
A reference can be declared beforehand and initialized later.
5-
Which of the following statements is correct?
1/ A reference is not a constant pointer.
2/ A referenced is automatically de-referenced.
  A - 
Only 1 is correct.
  B - 
Only 2 is correct.
  C - 
Both 1 and 2 are correct.
  D - 
Both 1 and 2 are incorrect.
6-
Which of the following statements is correct?
1/ An array of references is acceptable.
2/ We can also create a reference to a reference.
  A - 
Only 1 is correct.
  B - 
Only 2 is correct.
  C - 
Both 1 and 2 are correct.
  D - 
Both 1 and 2 are incorrect.
7-
Which of the following statement is correct?
  A - 
A referenced has to be de-referenced to access a value.
  B - 
A referenced does not need to be de-referenced to access a value.
  C - 
A referenced has to be double de-referenced to access a value.
  D - 
Whether a reference should be de-referenced or not depends on the type of the reference.
8-
Which of the following statements is correct?
1/ Once the variable and the reference are linked they are tied together.
2/ Once the reference of a variable is declared another reference of that variable is not allowed.
  A - 
Only 1 is correct.
  B - 
Only 2 is correct.
  C - 
Both 1 and 2 are correct.
  D - 
Both 1 and 2 are incorrect.
9-
Which of the following statements is correct?
1/ We can return a global variable by reference.
2/ We cannot return a local variable by reference.
  A - 
Only 1 is correct.
  B - 
Only 2 is correct.
  C - 
Both 1 and 2 are correct.
  D - 
Both 1 and 2 are incorrect.
10-
Reference is like a _____.
  A - 
Pointer
  B - 
Structure
  C - 
Macro
  D - 
Enum
 
[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 XML - Bài 12
Trắc nghiệm Linux - Bài 36
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 01
Trắc Nghiệm Pascal - Bài 14
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 69
Trắc Nghiệm Thiết Kế Web - Bài 11
Trắc Nghiệm ASP.NET (English) - Bài 07
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 49
Trắc Nghiệm Visual Basic - Bài 31
Trắc nghiệm Linux - Bài 64
Trắc Nghiệm Java - Bài 51
Trắc nghiệm Linux ( English ) - Bài 28
Trắc Nghiệm Thiết Kế Web (English) - Bài 38
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 83
Trắc Nghiệm ASP.NET (English) - Bài 29
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 03
Trắc Nghiệm Thiết Kế Web (English) - Bài 14
Trắc nghiệm CSS ( English ) - Bài 02
Trắc nghiệm XML - Bài 11
Trắc Nghiệm Visual Basic - Bài 24
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