cpp

Descrição

Quiz sobre cpp, criado por Lazzat Yeleussizova em 22-12-2017.
Lazzat Yeleussizova
Quiz por Lazzat Yeleussizova, atualizado more than 1 year ago
Lazzat Yeleussizova
Criado por Lazzat Yeleussizova mais de 6 anos atrás
21
1

Resumo de Recurso

Questão 1

Questão
In C ++, the permissible variations in the names of identifiers
Responda
  • 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.

Questão 2

Questão
An enumerated data type in C ++
Responda
  • enum
  • int
  • double
  • float
  • char

Questão 3

Questão
"False" in C ++ takes the form and means:
Responda
  • 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

Questão 4

Questão
"True" in C ++ takes the form and means:
Responda
  • 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

Questão 5

Questão
The result of a logical operation in C ++ is
Responda
  • true - true or false - false
  • a turnkey solution
  • the derivation of
  • values
  • a mathematical proposition

Questão 6

Questão
The result of a conditional expression in C ++ is:
Responda
  • the truth - true || false - false
  • true - false or false - true
  • the truth - or false 2 - 1
  • Inequality
  • conclusion

Questão 7

Questão
Data - is:
Responda
  • 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

Questão 8

Questão
Standard char data type in C ++ defines:
Responda
  • to describe the type of ASCII Code
  • number type
  • integer type
  • boolean type
  • enumerated type

Questão 9

Questão
Standard types of data that exist in C ++:
Responda
  • bool
  • integer
  • real
  • shared
  • protected

Questão 10

Questão
Standard data types do not exist in C ++:
Responda
  • boolean
  • bool
  • string
  • int
  • float

Questão 11

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

Questão 12

Questão
In C ++, the permissible variations in the names of identifiers:
Responda
  • 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.

Questão 13

Questão
The access to the members of the class indicated by:
Responda
  • protected
  • firstprivate
  • interface
  • article
  • set..of

Questão 14

Questão
Permitted data types in C ++:
Responda
  • string.
  • referenced.
  • the column.
  • Numeric.
  • system.

Questão 15

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

Questão 16

Questão
Key words in the language C ++:
Responda
  • this
  • endl
  • constructor
  • size_t
  • of

Questão 17

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

Questão 18

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

Questão 19

Questão
Enter standard data types char, double, float in C ++?
Responda
  • 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

Questão 20

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

Questão 21

Questão
The correct ranges of data types in C ++ :
Responda
  • 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

Questão 22

Questão
Acceptable simple types in C ++ are:
Responda
  • unsigned long
  • unsigned bool
  • long char
  • long float
  • unsigned float

Questão 23

Questão
Two bytes of RAM in C ++ occupy :
Responda
  • unsigned int
  • short float
  • word
  • boolean
  • small int

Questão 24

Questão
Real types in C ++ are declared :
Responda
  • double
  • floating
  • enum
  • single
  • real

Questão 25

Questão
Valid variable names in C ++ are:
Responda
  • Asm
  • 312m $
  • 1var
  • % Asm
  • 1str

Questão 26

Questão
The scope of the variables in the language C ++:
Responda
  • 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.

Questão 27

Questão
The correct description of the standard data types in C ++ :
Responda
  • void empty type
  • enum text type
  • enum integer type
  • float empty type
  • void type text

Questão 28

Questão
The correct description of the standard data types in C ++ :
Responda
  • double type floating-point double-length
  • void type text
  • double floating point type
  • void type floating-point
  • char empty type

Questão 29

Questão
The correct description of the standard data types in C ++ :
Responda
  • enum enumeration type
  • void floating point type
  • void type text
  • int floating point type
  • double floating point type

Questão 30

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

Questão 31

Questão
The correct description of the standard data types float, int, void in C ++ :
Responda
  • 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

Questão 32

Questão
The correct description of the standard data types float, enum, void in C ++ :
Responda
  • 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

Questão 33

Questão
The correct description of the standard data types char, enum, void in C ++ :
Responda
  • 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

Questão 34

Questão
The correct description of the standard data types char, double, float in C ++ :
Responda
  • 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

Questão 35

Questão
The correct description of the standard data types enum, double, float in C ++ :
Responda
  • 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

Questão 36

Questão
The correct description of the standard data types int, double, float in C ++ :
Responda
  • 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

Questão 37

Questão
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:
Responda
  • X= -30, Y= 15
  • X= -31
  • X=-31 
  • Y=-15 
  • Y=30

Questão 38

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

Questão 39

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

Questão 40

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

Questão 41

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

Questão 42

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

Questão 43

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

Questão 44

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

Questão 45

Questão
The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y --- Z; if (X <3) X ++ have the following results:
Responda
  • Z = 2
  • X= 0 
  • Y = 4
  • X=2 
  • X=9

Semelhante

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
CAv - controle de avarias
willian reis
Roteiro de Estudo - Português
GoConqr suporte .
Sistema Circulátorio
Daniela Barreto3004