Deck 23: Boost Libraries, Technical Report 1 and C0x

ملء الشاشة (f)
exit full mode
سؤال
Regular expressions are used in:

A) text editors
B) online forms
C) IDEs
D) all of the above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which of the following is not a member function or operation of shared_ptr.

A)reset
B)use_count
C)->
D)delete
سؤال
The Random library provides:

A) pseudo-random number generators
B) uniform distributions
C) custom distributions
D) all of the above
سؤال
C++0x will be

A) easier to learn
B) better for building libraries
C) more compatible with C
D) all of the above
سؤال
Which of the following will not be included in C++0x?

A) decimal types
B) rvalue reference
C) template aliases
D) variable type deduction
سؤال
Regex_replace returns an):

A)bool
B)string
C)smatch
D)void
سؤال
An auto_ptr can manage any:

A) dynamically allocated object
B) dynamically allocated array
C) dynamically allocated object that can be destroyed with delete
D) object
سؤال
The character class \s represents any:

A) whitespace character
B) space character
C) string character
D) non-whitespace character
سؤال
A copy of an auto_ptr:

A) shares the resource
B) destroys the resource
C) can be used in an STL container
D) sets the original auto_ptr to null
سؤال
The unordered associative containers use a to determine where in the container to place the value.

A) bucket
B) delegator function
C) float
D) hash function
سؤال
The regular expression "[^0-9]+:\s\d{2,}" matches:

A) "123: Jones"
B) "John 32145"
C) "A7"
D) "j: 16"
سؤال
A program using Boost.Regex must include the header file.

A)boost_regex.h
B)regex.hpp
C)regular_exp.hpp
D)regex.h
سؤال
When the last shared_ptr to a resource is destroyed, all weak_ptrs to that resource .

A) are destroyed
B) are set to NULL
C) are not affected
D) can still access the resource
سؤال
The "^" and "$" characters represent:

A) back references
B) the beginning and end of a string
C) the beginning and end of a regular expression
D) none of the above
سؤال
To use shared_ptrs in your program you must include the header file.

A)smart_ptr.hpp
B)shared_ptr.hpp
C)shared.hpp
D)shared_ptr.h
سؤال
The dot character .) matches:

A) any visible character
B) any nonvisible character
C) any character
D) any character except a newline
سؤال
Use the weak_ptr member function to create a shared_ptr to the resource ob?served by the weak_ptr.

A)lock
B)use_count
C)reset
D)getSharedPtr
سؤال
The library in TR1 is based on a Boost library.

A) Regex
B) Unordered Associative Containers
C) Date
D) all of the above
سؤال
To replace only the first match to a regular expression, you must pass as an ar?gument to regex_replace.

A)-1
B)format_first_only
C)replace_first_only
D)0
سؤال
The regular expression "A{5,}" matches:

A) less than 5 A's
B) exactly 5 A's
C) at least 5 A's
D) none of the above
سؤال
A declaration allows you to test certain aspects of a program at compile time.

A)compile_time_test
B)static_assert
C)test
D)check
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/21
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 23: Boost Libraries, Technical Report 1 and C0x
1
Regular expressions are used in:

A) text editors
B) online forms
C) IDEs
D) all of the above
D
2
Which of the following is not a member function or operation of shared_ptr.

A)reset
B)use_count
C)->
D)delete
D
3
The Random library provides:

A) pseudo-random number generators
B) uniform distributions
C) custom distributions
D) all of the above
D
4
C++0x will be

A) easier to learn
B) better for building libraries
C) more compatible with C
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following will not be included in C++0x?

A) decimal types
B) rvalue reference
C) template aliases
D) variable type deduction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
6
Regex_replace returns an):

A)bool
B)string
C)smatch
D)void
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
7
An auto_ptr can manage any:

A) dynamically allocated object
B) dynamically allocated array
C) dynamically allocated object that can be destroyed with delete
D) object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
8
The character class \s represents any:

A) whitespace character
B) space character
C) string character
D) non-whitespace character
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
9
A copy of an auto_ptr:

A) shares the resource
B) destroys the resource
C) can be used in an STL container
D) sets the original auto_ptr to null
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
10
The unordered associative containers use a to determine where in the container to place the value.

A) bucket
B) delegator function
C) float
D) hash function
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
11
The regular expression "[^0-9]+:\s\d{2,}" matches:

A) "123: Jones"
B) "John 32145"
C) "A7"
D) "j: 16"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
12
A program using Boost.Regex must include the header file.

A)boost_regex.h
B)regex.hpp
C)regular_exp.hpp
D)regex.h
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
13
When the last shared_ptr to a resource is destroyed, all weak_ptrs to that resource .

A) are destroyed
B) are set to NULL
C) are not affected
D) can still access the resource
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
14
The "^" and "$" characters represent:

A) back references
B) the beginning and end of a string
C) the beginning and end of a regular expression
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
15
To use shared_ptrs in your program you must include the header file.

A)smart_ptr.hpp
B)shared_ptr.hpp
C)shared.hpp
D)shared_ptr.h
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
16
The dot character .) matches:

A) any visible character
B) any nonvisible character
C) any character
D) any character except a newline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
17
Use the weak_ptr member function to create a shared_ptr to the resource ob?served by the weak_ptr.

A)lock
B)use_count
C)reset
D)getSharedPtr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
18
The library in TR1 is based on a Boost library.

A) Regex
B) Unordered Associative Containers
C) Date
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
19
To replace only the first match to a regular expression, you must pass as an ar?gument to regex_replace.

A)-1
B)format_first_only
C)replace_first_only
D)0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
20
The regular expression "A{5,}" matches:

A) less than 5 A's
B) exactly 5 A's
C) at least 5 A's
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
21
A declaration allows you to test certain aspects of a program at compile time.

A)compile_time_test
B)static_assert
C)test
D)check
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.