cpp

Descripción

Test sobre cpp, creado por Lazzat Yeleussizova el 22/12/2017.
Lazzat Yeleussizova
Test por Lazzat Yeleussizova, actualizado hace más de 1 año
Lazzat Yeleussizova
Creado por Lazzat Yeleussizova hace más de 6 años
21
1

Resumen del Recurso

Pregunta 1

Pregunta
In C ++, the permissible variations in the names of identifiers
Respuesta
  • The sign '_' and digits.
  • Any characters with ASCII-code older than 128.
  • The "@" and numbers.
  • Any characters except those used in arithmetic and logical operations.
  • signs "$", "@", and letters.

Pregunta 2

Pregunta
An enumerated data type in C ++
Respuesta
  • enum
  • int
  • double
  • float
  • char

Pregunta 3

Pregunta
"False" in C ++ takes the form and means:
Respuesta
  • one of the two values of type bool
  • lack of communication with the processor peripherals
  • the temporary suspension of the computer
  • the need to perform a "warm start"
  • errors when entering information

Pregunta 4

Pregunta
"True" in C ++ takes the form and means:
Respuesta
  • 1
  • lie
  • the result of the correct compilation of the program
  • the absence of errors when entering information
  • the absence of errors in the derivation of the information

Pregunta 5

Pregunta
The result of a logical operation in C ++ is
Respuesta
  • true - true or false - false
  • a turnkey solution
  • the derivation of
  • values
  • a mathematical proposition

Pregunta 6

Pregunta
The result of a conditional expression in C ++ is:
Respuesta
  • the truth - true || false - false
  • true - false or false - true
  • the truth - or false 2 - 1
  • Inequality
  • conclusion

Pregunta 7

Pregunta
Data - is:
Respuesta
  • is a set of memory cells, having certain properties
  • a set of numbers
  • the sequence of actions
  • a sequence of characters
  • the set of libraries

Pregunta 8

Pregunta
Standard char data type in C ++ defines:
Respuesta
  • to describe the type of ASCII Code
  • number type
  • integer type
  • boolean type
  • enumerated type

Pregunta 9

Pregunta
Standard types of data that exist in C ++:
Respuesta
  • bool
  • integer
  • real
  • shared
  • protected

Pregunta 10

Pregunta
Standard data types do not exist in C ++:
Respuesta
  • boolean
  • bool
  • string
  • int
  • float

Pregunta 11

Pregunta
The modifier const in C ++ allows you to declare several types:
Respuesta
  • constants
  • non-constants
  • data types with sign
  • Local
  • changes as a result of external events

Pregunta 12

Pregunta
In C ++, the permissible variations in the names of identifiers:
Respuesta
  • Uppercase and lowercase letters.
  • Any characters with ASCII-code older than 128.
  • The "@" and numbers.
  • The "_" number and the sign "#", "@".
  • Any characters except those used in arithmetic and logical operations.

Pregunta 13

Pregunta
The access to the members of the class indicated by:
Respuesta
  • protected
  • firstprivate
  • interface
  • article
  • set..of

Pregunta 14

Pregunta
Permitted data types in C ++:
Respuesta
  • string.
  • referenced.
  • the column.
  • Numeric.
  • system.

Pregunta 15

Pregunta
Expressions with the correct execution of the assignment in the language C ++:
Respuesta
  • char a = '123';
  • char a [] = {123};
  • int a [] = "123";
  • int a [4] = '123';
  • a char [4] = '123';

Pregunta 16

Pregunta
Key words in the language C ++:
Respuesta
  • this
  • endl
  • constructor
  • size_t
  • of

Pregunta 17

Pregunta
Symbols s, x, u, controls the formation of the C language for printf means the expected type of input:
Respuesta
  • hexadecima
  • floating-point numbers of double-length
  • unsigned decimal number
  • a decimal number
  • string

Pregunta 18

Pregunta
Symbols X,o,s, controls the formation of the C language for printf means the expected type of input:
Respuesta
  • hexadecimal
  • string
  • unsigned decimal number
  • floating-point numbers
  • point-number

Pregunta 19

Pregunta
Enter standard data types char, double, float in C ++?
Respuesta
  • floating point type, text type, floating point double-length type
  • text type, integer type, boolean type
  • empty type, character type, integer type
  • enumerated type, floating point double-lengh type, text type
  • integer type, primitive type, structure type

Pregunta 20

Pregunta
Correctly declare variables in C ++ :
Respuesta
  • char str [ 256 ] = " 12345" ;
  • int pi = 3.1415;
  • real a = 0.1;
  • const N = 10;
  • A = 10 char

Pregunta 21

Pregunta
The correct ranges of data types in C ++ :
Respuesta
  • unsigned int 0 to 4 294 967 295
  • bool from -126 to 126
  •  short int from 0 to 254
  • float from -2,147,483,648 to 2,147,483,647
  • double from -2,147,483,648 to 2,147,483,647

Pregunta 22

Pregunta
Acceptable simple types in C ++ are:
Respuesta
  • unsigned long
  • unsigned bool
  • long char
  • long float
  • unsigned float

Pregunta 23

Pregunta
Two bytes of RAM in C ++ occupy :
Respuesta
  • unsigned int
  • short float
  • word
  • boolean
  • small int

Pregunta 24

Pregunta
Real types in C ++ are declared :
Respuesta
  • double
  • floating
  • enum
  • single
  • real

Pregunta 25

Pregunta
Valid variable names in C ++ are:
Respuesta
  • Asm
  • 312m $
  • 1var
  • % Asm
  • 1str

Pregunta 26

Pregunta
The scope of the variables in the language C ++:
Respuesta
  • Local visible within the function.
  • Global-interclass visible to all child classes.
  • Global, visible within a block enclosed in braces.
  • Specific global-visible code within a distance of 64 kBt.
  • Hidden-local, visible within a single expression current operator.

Pregunta 27

Pregunta
The correct description of the standard data types in C ++ :
Respuesta
  • void empty type
  • enum text type
  • enum integer type
  • float empty type
  • void type text

Pregunta 28

Pregunta
The correct description of the standard data types in C ++ :
Respuesta
  • double type floating-point double-length
  • void type text
  • double floating point type
  • void type floating-point
  • char empty type

Pregunta 29

Pregunta
The correct description of the standard data types in C ++ :
Respuesta
  • enum enumeration type
  • void floating point type
  • void type text
  • int floating point type
  • double floating point type

Pregunta 30

Pregunta
The correct description of the standard data types in C ++ :
Respuesta
  • enum - enumerated type
  • int - empty type
  • char - type text
  • bool - type floating-point double-length
  • double - floating point type

Pregunta 31

Pregunta
The correct description of the standard data types float, int, void in C ++ :
Respuesta
  • floating point type,empty  type,integer type
  • enumerated type,empty  type,integer type
  • empty  type,integer type,structure type
  • text type,empty  type,structure type
  • structure type, integer type, floating type

Pregunta 32

Pregunta
The correct description of the standard data types float, enum, void in C ++ :
Respuesta
  • enumerated  type, empty type, floating point type
  • empty type, integer type, boolean type
  • text type, floating point type, structure type
  • the type of floating-point double-length, primitive type, structure type
  • floating point type, text type, enumerated type

Pregunta 33

Pregunta
The correct description of the standard data types char, enum, void in C ++ :
Respuesta
  • enumerated type,text type, empty  type
  • floating point type,text type, empty  type
  • the type of floating-point double-length,text type, empty  type
  • integer type,text type, empty  type
  • a primitive type,text type, empty  type

Pregunta 34

Pregunta
The correct description of the standard data types char, double, float in C ++ :
Respuesta
  • floating point type, text type, floating point double length type
  • text type, empty type, integer type
  • empty  type, enumerated type, floating point type
  • enumerated  type, character type, boolean type
  • integer type, structure type, integer type

Pregunta 35

Pregunta
The correct description of the standard data types enum, double, float in C ++ :
Respuesta
  • the type of floating-point double-length,floating point type,enumerated  type
  • empty  type,structure type,the type of floating-point double-length
  • text type,structure type,the type of floating-point double-length
  • enumerated  type,structure type,the type of floating-point double-length
  • integer type,structure type,the type of floating-point double-length

Pregunta 36

Pregunta
The correct description of the standard data types int, double, float in C ++ :
Respuesta
  • floating point type, floating point double-lenth type, integer type
  • empty  type, text type, primitive type
  • text type, integer type, floating point type
  • the type of floating-point double-length, empty type, structure type
  • a primitive type, integer type, floating point double-length type

Pregunta 37

Pregunta
The variables X, Y provided: int X=1, Y=15; X=--X-Y; if (Y<15)   X+=15; else   X-=15  have the following results:
Respuesta
  • X= -30, Y= 15
  • X= -31
  • X=-31 
  • Y=-15 
  • Y=30

Pregunta 38

Pregunta
The variables  X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y+++Z; if (X<3)   X++have the following results:
Respuesta
  • X=5 
  • X=4 
  • X=2 
  • X=3 
  • X=1

Pregunta 39

Pregunta
The variables X, Y, Z provided:  int X=2, Y=1, Z=2; X+=Y+--Z; if (X<3)   X++have the following results:
Respuesta
  • Z=1
  • X=0
  • X=3 
  • X=2 
  • X=1 

Pregunta 40

Pregunta
The variables  X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y++-Z; if (X<3)   X++have the following results:
Respuesta
  • Z=2
  • X=4 
  • X=3 
  • X=-2
  • X=1 

Pregunta 41

Pregunta
The variables  X, Y, Z приусловии: int X=2, Y=1, Z=2; X+=Y---Z; if (X<3)   X++have the following results:
Respuesta
  • Y=0
  • X= 5 
  • Y=4 
  • X=4
  • X=3 

Pregunta 42

Pregunta
The variables  X, Y, Zprovided:  int X=2, Y=1, Z=2; X-=Y+--Z; if (X<3)   X++have the following results:
Respuesta
  • Z=1
  • X= 5 
  • Y=4 
  • X=0 
  • X=5 

Pregunta 43

Pregunta
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y ++ - Z; if (X <3) X++ have the following results:
Respuesta
  • Z = 2
  • X= 5 
  • Y = 4
  • X=1 
  • X=30

Pregunta 44

Pregunta
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y +++ Z; if (X <3) X++ have the following results:
Respuesta
  • Z = 2
  • X= 5
  • Y = 4
  • X=2 
  • X=3 

Pregunta 45

Pregunta
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y --- Z; if (X <3) X ++ have the following results:
Respuesta
  • Z = 2
  • X= 0 
  • Y = 4
  • X=2 
  • X=9
Mostrar resumen completo Ocultar resumen completo

Similar

CPP - Module 3
kavita.batra
CPP - Module 2
kavita.batra
CPP - Module 4
kavita.batra
CPP - Module 1
kavita.batra
CPP - Module 6
kavita.batra
CPP - Module 9
kavita.batra
CPP - Module 5
kavita.batra
Símbolos y Abreviaciones para tomar apuntes
Diego Santos
EDAD DE LOS METALES
Roberto Vicente Rodriguez Blanco
COMUNICACIÓN EN INTERNET
Custodio García