記憶度
6問
18問
0問
0問
0問
アカウント登録して、解答結果を保存しよう
問題一覧
1
It is a software a set of instructions that provide information to computer to solve problems
c programming
2
He is also known as the father of c programming
dennis ritchie
3
Where was the c programming invented
bell laboratories
4
When was the c programming invented
1972
5
#include
processor directive
6
<stdio.h>
standard input output library
7
Int
function return type
8
Main()
main function
9
{ }
beginning logical program block, return statement
10
Printf
print function
11
(" Hello world")
space sequence
12
;
program statement terminator
13
Return
return statement
14
0
return value
15
n
scape sequence
16
//by:
single line comment
17
/"
multiple comment block
18
)
end terminator
19
This is a program that is a basic unit of the code that has specific meaning tokens in c or include keywords identifiers literals operators and punctuations
c tokens
20
Six types of c tokens
keywords, identifiers, constant, string, special keywords, operators
21
Types of keywords
int, char, break, goto, void, switch
22
Types of identifiers
int numbers, char name
23
Types of constant
numeric constant, character constant
24
Types of numeric constant
integer constant, float constant
25
Types of character constant
single constant, string constant
26
Types of string constant
char name
27
Special keywords
[], {}, (), #, ", =
28
Types of operators
arithmetic operator, relational operator, logical operator, assignment operator, bitwise operator, conditional operator, special operator, increment and decrement operator
29
In c programming this code are special sequence used to represent characters that are difficult to type directly into your code or that have specific meaning
escape codes
30
Primitive data types
primitive data, modifiers, variables, data types, declaring variables, variables name, value, constants
31
Types of specify the size and type of variable values
primitive data
32
Sign, unsigned long and short are prefix and used with integer based data types
modifiers
33
In programming are symbols that represents values stored in computer memory
variables
34
Variables have a data type that defines the kind of data they can store Defines the type of data that are variable can hold
data types
35
Involves specifying the variables name and optionally its type
declaring variables
36
Will help you easily identify the use of that variable later on your program
variable name
37
Variables hold a value which can be assigned when the variable is declared or later in the program
value
38
In programming are fixed Values that remain and change during program execution they play a critical role in enhancing code readability Maintaining and reliability by assigning meaningful names to fixed values
constants
39
What are the four characteristics of constants
immutability, declaration, type, purpose
40
Constants cannot be modified once defined ensuring data integrity
immutability
41
Typically defined using language specific syntax constants have global or local scope
declaration
42
They may have explicit or implicit types aiding in code clarity
type
43
Constant represents fixed values known at compile time improving code readability
purpose
44
Refers to the process of representing numerical values on the console or output window
displaying numbers
45
What are the seven types of displaying numbers
decimal format, octal format, hexadecimal format, float point format, scientific notation, character format, binary format
46
What are the six common challenges that program may encounter when displaying numbers
choosing the correct format specifier, precision and rounding, conversation and type casting, formatting, overflow or underflow, localization