Quiz
cpp
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (45)
1In C ++, the permissible variations in the names of identifiers
- AThe sign '_' and digits.
- BAny characters with ASCII-code older than 128.
- CThe "@" and numbers.
- DAny characters except those used in arithmetic and logical operations.
- Esigns "$", "@", and letters.
2An enumerated data type in C ++
- Aenum
- Bint
- Cdouble
- Dfloat
- Echar
3"False" in C ++ takes the form and means:
- Aone of the two values of type bool
- Black of communication with the processor peripherals
- Cthe temporary suspension of the computer
- Dthe need to perform a "warm start"
- Eerrors when entering information
4"True" in C ++ takes the form and means:
- A1
- Blie
- Cthe result of the correct compilation of the program
- Dthe absence of errors when entering information
- Ethe absence of errors in the derivation of the information
5The result of a logical operation in C ++ is
- Atrue - true or false - false
- Ba turnkey solution
- Cthe derivation of
- Dvalues
- Ea mathematical proposition
6The result of a conditional expression in C ++ is:
- Athe truth - true || false - false
- Btrue - false or false - true
- Cthe truth - or false 2 - 1
- DInequality
- Econclusion
7Data - is:
- Ais a set of memory cells, having certain properties
- Ba set of numbers
- Cthe sequence of actions
- Da sequence of characters
- Ethe set of libraries
8Standard char data type in C ++ defines:
- Ato describe the type of ASCII Code
- Bnumber type
- Cinteger type
- Dboolean type
- Eenumerated type
9Standard types of data that exist in C ++:
- Abool
- Binteger
- Creal
- Dshared
- Eprotected
10Standard data types do not exist in C ++:
- Aboolean
- Bbool
- Cstring
- Dint
- Efloat
11The modifier const in C ++ allows you to declare several types:
- Aconstants
- Bnon-constants
- Cdata types with sign
- DLocal
- Echanges as a result of external events
12In C ++, the permissible variations in the names of identifiers:
- AUppercase and lowercase letters.
- BAny characters with ASCII-code older than 128.
- CThe "@" and numbers.
- DThe "_" number and the sign "#", "@".
- EAny characters except those used in arithmetic and logical operations.
13The access to the members of the class indicated by:
- Aprotected
- Bfirstprivate
- Cinterface
- Darticle
- Eset..of
14Permitted data types in C ++:
- Astring.
- Breferenced.
- Cthe column.
- DNumeric.
- Esystem.
15Expressions with the correct execution of the assignment in the language C ++:
- Achar a = '123';
- Bchar a [] = {123};
- Cint a [] = "123";
- Dint a [4] = '123';
- Ea char [4] = '123';
16Key words in the language C ++:
- Athis
- Bendl
- Cconstructor
- Dsize_t
- Eof
17Symbols s, x, u, controls the formation of the C language for printf means the expected type of input:
- Ahexadecima
- Bfloating-point numbers of double-length
- Cunsigned decimal number
- Da decimal number
- Estring
18Symbols X,o,s, controls the formation of the C language for printf means the expected type of input:
- Ahexadecimal
- Bstring
- Cunsigned decimal number
- Dfloating-point numbers
- Epoint-number
19Enter standard data types char, double, float in C ++?
- Afloating point type, text type, floating point double-length type
- Btext type, integer type, boolean type
- Cempty type, character type, integer type
- Denumerated type, floating point double-lengh type, text type
- Einteger type, primitive type, structure type
20Correctly declare variables in C ++ :
- Achar str [ 256 ] = " 12345" ;
- Bint pi = 3.1415;
- Creal a = 0.1;
- Dconst N = 10;
- EA = 10 char
21The correct ranges of data types in C ++ :
- Aunsigned int 0 to 4 294 967 295
- Bbool from -126 to 126
- C short int from 0 to 254
- Dfloat from -2,147,483,648 to 2,147,483,647
- Edouble from -2,147,483,648 to 2,147,483,647
22Acceptable simple types in C ++ are:
- Aunsigned long
- Bunsigned bool
- Clong char
- Dlong float
- Eunsigned float
23Two bytes of RAM in C ++ occupy :
- Aunsigned int
- Bshort float
- Cword
- Dboolean
- Esmall int
24Real types in C ++ are declared :
- Adouble
- Bfloating
- Cenum
- Dsingle
- Ereal
25Valid variable names in C ++ are:
- AAsm
- B312m $
- C1var
- D% Asm
- E1str
26The scope of the variables in the language C ++:
- ALocal visible within the function.
- BGlobal-interclass visible to all child classes.
- CGlobal, visible within a block enclosed in braces.
- DSpecific global-visible code within a distance of 64 kBt.
- EHidden-local, visible within a single expression current operator.
27The correct description of the standard data types in C ++ :
- Avoid empty type
- Benum text type
- Cenum integer type
- Dfloat empty type
- Evoid type text
28The correct description of the standard data types in C ++ :
- Adouble type floating-point double-length
- Bvoid type text
- Cdouble floating point type
- Dvoid type floating-point
- Echar empty type
29The correct description of the standard data types in C ++ :
- Aenum enumeration type
- Bvoid floating point type
- Cvoid type text
- Dint floating point type
- Edouble floating point type
30The correct description of the standard data types in C ++ :
- Aenum - enumerated type
- Bint - empty type
- Cchar - type text
- Dbool - type floating-point double-length
- Edouble - floating point type
31The correct description of the standard data types float, int, void in C ++ :
- Afloating point type,empty type,integer type
- Benumerated type,empty type,integer type
- Cempty type,integer type,structure type
- Dtext type,empty type,structure type
- Estructure type, integer type, floating type
32The correct description of the standard data types float, enum, void in C ++ :
- Aenumerated type, empty type, floating point type
- Bempty type, integer type, boolean type
- Ctext type, floating point type, structure type
- Dthe type of floating-point double-length, primitive type, structure type
- Efloating point type, text type, enumerated type
33The correct description of the standard data types char, enum, void in C ++ :
- Aenumerated type,text type, empty type
- Bfloating point type,text type, empty type
- Cthe type of floating-point double-length,text type, empty type
- Dinteger type,text type, empty type
- Ea primitive type,text type, empty type
34The correct description of the standard data types char, double, float in C ++ :
- Afloating point type, text type, floating point double length type
- Btext type, empty type, integer type
- Cempty type, enumerated type, floating point type
- Denumerated type, character type, boolean type
- Einteger type, structure type, integer type
35The correct description of the standard data types enum, double, float in C ++ :
- Athe type of floating-point double-length,floating point type,enumerated type
- Bempty type,structure type,the type of floating-point double-length
- Ctext type,structure type,the type of floating-point double-length
- Denumerated type,structure type,the type of floating-point double-length
- Einteger type,structure type,the type of floating-point double-length
36The correct description of the standard data types int, double, float in C ++ :
- Afloating point type, floating point double-lenth type, integer type
- Bempty type, text type, primitive type
- Ctext type, integer type, floating point type
- Dthe type of floating-point double-length, empty type, structure type
- Ea primitive type, integer type, floating point double-length type
37The variables X, Y provided: int X=1, Y=15; X=--X-Y; if (Y<15) X+=15; else X-=15 have the following results:
- AX= -30, Y= 15
- BX= -31
- CX=-31
- DY=-15
- EY=30
38The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y+++Z; if (X<3) X++have the following results:
- AX=5
- BX=4
- CX=2
- DX=3
- EX=1
39The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y+--Z; if (X<3) X++have the following results:
- AZ=1
- BX=0
- CX=3
- DX=2
- EX=1
40The variables X, Y, Z provided: int X=2, Y=1, Z=2; X+=Y++-Z; if (X<3) X++have the following results:
- AZ=2
- BX=4
- CX=3
- DX=-2
- EX=1
41The variables X, Y, Z приусловии: int X=2, Y=1, Z=2; X+=Y---Z; if (X<3) X++have the following results:
- AY=0
- BX= 5
- CY=4
- DX=4
- EX=3
42The variables X, Y, Zprovided: int X=2, Y=1, Z=2; X-=Y+--Z; if (X<3) X++have the following results:
- AZ=1
- BX= 5
- CY=4
- DX=0
- EX=5
43The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y ++ - Z; if (X <3) X++ have the following results:
- AZ = 2
- BX= 5
- CY = 4
- DX=1
- EX=30
44The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y +++ Z; if (X <3) X++ have the following results:
- AZ = 2
- BX= 5
- CY = 4
- DX=2
- EX=3
45The variables X, Y, Z provided: int X = 2, Y = 1, Z = 2; X- = Y --- Z; if (X <3) X ++ have the following results:
- AZ = 2
- BX= 0
- CY = 4
- DX=2
- EX=9
Informationen
- Beschreibung
- Quiz am cpp, erstellt von Lazzat Yeleussizova am 22/12/2017.
- Autor
- Lazzat Yeleussizova
- Sprache
- English
- Aufrufe
- 46
- Bewertung
- 5,0 von 5 · 1 Bewertung Bewerte dieses Quiz