Deck 2: Getting Started in C Programming

ملء الشاشة (f)
exit full mode
سؤال
Identifiers are also referred to as keywords in C.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The main() function is sometimes referred to as a driver function.
سؤال
A function header line is always the first line of a function.
سؤال
Inputting data or messages to a function is called passing data to the function.
سؤال
A statement is a note about the code that the programmer includes so that he (or other programmers) can keep track of what the various parts of the program do.
سؤال
Invoking a function is more commonly referred to as summoning the function.
سؤال
In C, blank space refers to any combination of one or more blank spaces, tabs, or new lines.
سؤال
A built-in data type is one that is provided as an integral part of the language.
سؤال
In C, comments may be nested.
سؤال
Another name for a literal is a constant.
سؤال
The combination of an ampersand and one of several specific characters is called an escape sequence.
سؤال
A floating-point value is also called a real number.
سؤال
The operators used for arithmetic operations are called arithmetic operators.
سؤال
An operand can be either a literal value or an identifier that has a value associated with it.
سؤال
A simple unary arithmetic expression has the form: literalValue operator literalValue.
سؤال
A string that also includes a conversion control sequence is termed a literal string.
سؤال
Conversion control sequences are also referred to as conversion specifications and format specifiers.
سؤال
A control string is referred to as a control specifier.
سؤال
A floating-point expression is also called a real expression.
سؤال
An expression containing both integer and floating-point values is called a double-precision expression.
سؤال
The % operator is called both the modulus and remainder operator.
سؤال
A "solitaire" operator is one that operates on a single operand.
سؤال
Data types are simply names given by programmers to computer storage locations.
سؤال
An assignment statement tells the computer to assign a value to (that is, store a value in) a variable.
سؤال
Initialization statements define or tell the compiler how much memory is needed for data storage.
سؤال
The names of functions, as well as all of the words that are permitted in a program, that have special meaning to the compiler are collectively referred to as ____.

A)variables
B)identifiers
C)reserved words
D)keywords
سؤال
____ identifiers are words that are predefined in C.

A)Standard
B)Programmer-created
C)Reserved
D)Primitive
سؤال
A large number of the identifiers used in a C program are selected by the programmer, and are known as ____ identifiers.

A)standard
B)programmer-created
C)reserved
D)primitive
سؤال
All statements that cause some specific action to be performed by the computer when the function is executed must end with a semicolon (;); such statements are known as ____ statements.

A)assignment
B)arithmetic
C)executable
D)escape
سؤال
A ____ is placed at the top of a C program using the #include command.

A)header file
B)main() function
C)return statement
D)data type
سؤال
A programming language's ____ is the set of rules for formulating statements that are "grammatically correct" for the language.

A)grammar
B)syntax
C)logic
D)definition
سؤال
Messages are known as ____ in C.

A)characters
B)text
C)banners
D)strings
سؤال
The two characters \ and ____, when used together, are called a newline escape sequence.

A)n
B)e
C)w
D)x
سؤال
A(n) ____ is defined as a set of values and a set of operations that can be applied to these values.

A)variable
B)identifier
C)data type
D)literal
سؤال
Built-in types are also known as ____.

A)data types
B)primitive types
C)literals
D)basic
سؤال
The ____ is also known as the escape character.

A)pound character (#)
B)ampersand character (&)
C)backslash character (\)
D)bang character (!)
سؤال
A(n) ____ value can be the number zero or any positive or negative number that contains a decimal point.

A)integer
B)floating-point
C)boolean
D)character
سؤال
A ____ value is sometimes referred to as a single-precision number.

A)float
B)double
C)int
D)short int
سؤال
A ____ value is sometimes referred to as a double-precision number.

A)float
B)double
C)int
D)short int
سؤال
In numerical theory, the term ____ typically refers to numerical accuracy.

A)literal
B)sequence
C)precision
D)precedence
سؤال
Items passed to a function are always placed within the function name parentheses and are called ____.

A)variables
B)data types
C)identifiers
D)arguments
سؤال
An example of a conversion control sequence is ____.

A)\n
B)!s
C)%d
D)&l
سؤال
A(n) ____ is any combination of operators and operands that can be evaluated to yield a value.

A)expression
B)statement
C)operation
D)argument
سؤال
An expression containing only floating-point values as operands is called a floating-point expression, and the result of such an expression is a(n) ____ value.

A)single-precision
B)double-precision
C)integer
D)long integer
سؤال
The ____ operator captures the remainder when an integer number is divided by an integer.

A) /
B) &
C) %
D) !
سؤال
____ is the order in which operators of the same precedence are evaluated.

A) Associativity
B) Priority
C) Syntax
D) Precision
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/46
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: Getting Started in C Programming
1
Identifiers are also referred to as keywords in C.
False
2
The main() function is sometimes referred to as a driver function.
True
3
A function header line is always the first line of a function.
True
4
Inputting data or messages to a function is called passing data to the function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
5
A statement is a note about the code that the programmer includes so that he (or other programmers) can keep track of what the various parts of the program do.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
6
Invoking a function is more commonly referred to as summoning the function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
7
In C, blank space refers to any combination of one or more blank spaces, tabs, or new lines.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
8
A built-in data type is one that is provided as an integral part of the language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
9
In C, comments may be nested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
10
Another name for a literal is a constant.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
11
The combination of an ampersand and one of several specific characters is called an escape sequence.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
12
A floating-point value is also called a real number.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
13
The operators used for arithmetic operations are called arithmetic operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
14
An operand can be either a literal value or an identifier that has a value associated with it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
15
A simple unary arithmetic expression has the form: literalValue operator literalValue.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
16
A string that also includes a conversion control sequence is termed a literal string.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
17
Conversion control sequences are also referred to as conversion specifications and format specifiers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
18
A control string is referred to as a control specifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
19
A floating-point expression is also called a real expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
20
An expression containing both integer and floating-point values is called a double-precision expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
21
The % operator is called both the modulus and remainder operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
22
A "solitaire" operator is one that operates on a single operand.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
23
Data types are simply names given by programmers to computer storage locations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
24
An assignment statement tells the computer to assign a value to (that is, store a value in) a variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
25
Initialization statements define or tell the compiler how much memory is needed for data storage.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
26
The names of functions, as well as all of the words that are permitted in a program, that have special meaning to the compiler are collectively referred to as ____.

A)variables
B)identifiers
C)reserved words
D)keywords
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
27
____ identifiers are words that are predefined in C.

A)Standard
B)Programmer-created
C)Reserved
D)Primitive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
28
A large number of the identifiers used in a C program are selected by the programmer, and are known as ____ identifiers.

A)standard
B)programmer-created
C)reserved
D)primitive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
29
All statements that cause some specific action to be performed by the computer when the function is executed must end with a semicolon (;); such statements are known as ____ statements.

A)assignment
B)arithmetic
C)executable
D)escape
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
30
A ____ is placed at the top of a C program using the #include command.

A)header file
B)main() function
C)return statement
D)data type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
31
A programming language's ____ is the set of rules for formulating statements that are "grammatically correct" for the language.

A)grammar
B)syntax
C)logic
D)definition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
32
Messages are known as ____ in C.

A)characters
B)text
C)banners
D)strings
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
33
The two characters \ and ____, when used together, are called a newline escape sequence.

A)n
B)e
C)w
D)x
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
34
A(n) ____ is defined as a set of values and a set of operations that can be applied to these values.

A)variable
B)identifier
C)data type
D)literal
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
35
Built-in types are also known as ____.

A)data types
B)primitive types
C)literals
D)basic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____ is also known as the escape character.

A)pound character (#)
B)ampersand character (&)
C)backslash character (\)
D)bang character (!)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
37
A(n) ____ value can be the number zero or any positive or negative number that contains a decimal point.

A)integer
B)floating-point
C)boolean
D)character
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
38
A ____ value is sometimes referred to as a single-precision number.

A)float
B)double
C)int
D)short int
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
39
A ____ value is sometimes referred to as a double-precision number.

A)float
B)double
C)int
D)short int
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
40
In numerical theory, the term ____ typically refers to numerical accuracy.

A)literal
B)sequence
C)precision
D)precedence
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
41
Items passed to a function are always placed within the function name parentheses and are called ____.

A)variables
B)data types
C)identifiers
D)arguments
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
42
An example of a conversion control sequence is ____.

A)\n
B)!s
C)%d
D)&l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n) ____ is any combination of operators and operands that can be evaluated to yield a value.

A)expression
B)statement
C)operation
D)argument
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
44
An expression containing only floating-point values as operands is called a floating-point expression, and the result of such an expression is a(n) ____ value.

A)single-precision
B)double-precision
C)integer
D)long integer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
45
The ____ operator captures the remainder when an integer number is divided by an integer.

A) /
B) &
C) %
D) !
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
46
____ is the order in which operators of the same precedence are evaluated.

A) Associativity
B) Priority
C) Syntax
D) Precision
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.