(a) data structures
(b) functional programming languages
(c) algorithms
(d) object-oriented programming languages
2. In computer science, a structured representation of information is known as a(n) (b)
(a) cache
(b) data structure
(c) algorithm
(d) processor
3. An ordered set of directives that can be carried out mechanically is known as a(n) (b)
(a) hash table
(b) algorithm
(c) associative array
(d) tree
1.4.3
4. Which of the following statements properly allocates an array of 100 integers? (a)
(a) int *A = new int[100];
(b) int A = new int[100];
(c) int *A = new (int) 100;
(d) int &A = new int[100];
2.1.1
2. Which of the following data structures is not a container implemented in the C++ Standard Template Library? (b)
(a) Stack
(b) Hash table
(c) List
(d) Vector
3. Which of the following statements regarding the design of the Standard Template Library (STL) in C++ is (are) true? (d)
Each STL algorithm is usable with one specific container.
The STL does not use templates and instead relies on polymorphism.
(a) I only
(b) I and II
(c) II only
(d) None
4. The main abstractions of the Standard Template Library include which of the following? (d)
Iterators
Exception handlers
Algorithms
(a) III only
(b) I only
(c) I and II only
(d) I and III only
5. In the STL, common algorithms are instantiated for multiple types of container classes by using _____ to
数据结构试题库集及答案_IT认证_资格考试/认证_教育专区。数据结构试题库及答案 第一章 概论一、选择题 1、研究数据结构就是研究( D )。 A. 数据的逻辑结构 ...
第一章 概论一、选择题 1、研究数据结构就是研究( D )。 A. 数据的逻辑结构 B. 数据的存储结构 C. 数据的逻辑结构和存储结构 D. 数据的逻辑结构、存储...
数据结构试题库答案 隐藏>> 数据结构试题及答案 一、单项选择题 (1) 一个算法应该是( A) 程序 C) 要满足五个基本属性 (2) 算法指的是( A) 计算机程序 ...
数据结构试题库答案_理学_高等教育_教育专区。一些试题数据结构试题及答案一、单项选择题 (1) 一个算法应该是( A) 程序 C) 要满足五个基本属性 (2) 算法指的...
数据结构试题库_工学_高等教育_教育专区。数据结构一、选择题 1.采用折半查找方法进行查找,数据文件应为( A.有序表 顺序存储结构 C.随机表 顺序存储结构 2.算法...
线性,树,图 3.数据结构 S 中:元素的集合为:{A,B,C,D,E,F,G,H,I},关系的集合为:{<A,B>, <A,C>, <B,D>, <B,E>, <B,F>, <C,G>, ...
数据结构试题库及答案_工学_高等教育_教育专区。数据结构试题库及答案一、单选题(每题 2 分,共 20 分) 1.栈和队列的共同特点是( A )。 A.只允许在端点处...
数据结构题库 数据结构题数据结构题隐藏>> 第一章 绪论 一、选择题 1、数据结构是一门研究非数值计算的程序设计问题中计算机的 ① A、数据元素 ② A、结构 B...
数据结构题库数据结构题库隐藏>> 第1 章 绪论一、选择题 1. 算法的计算量的大小称为计算的( )。 A.效率 B. 复杂性 C. 现实性 D. 难度 2. 算法的时间...
热门文档