Будь умным!


У вас вопросы?
У нас ответы:) SamZan.net

Level lnguges Который из этих языков языки высокого уровня C b Си c C

Работа добавлена на сайт samzan.net:


Test of programming languages

1 For what operating system was originally created by the C language?

 (Для какой  операционной  системой  первоначально создан язык C?)
a) Windows 

b) Unix        

c) MacOS
d) Linux

e) Dos

f) Android

2
Which of these languages ​​are high-level languages?

( Который из этих языков - языки высокого уровня?)
a) C++            

b) Си           

c) C#           
d) Java
        

e) Fortran     

f) assembler   

3
 What do you call a tool that converts the source code into an executable file?

( Что вы называете инструментом , который превращает исходный код в выполняемый файл?)
a) compiler     √

b) CPU 

c) debugger
d) compiler 

e) optimizer

 f) garbage


4
 As a sequence of steps to solve the problem?

( Как сделать последовательность шагов, чтобы разрешить проблему?)
a) process 

b) pseudo 

c) block diagram
d) program 

e) code 

f) algorithm    √

5
 As a language, similar to the programming language?

(Как язык, подобный языку программирования?)
a) process 

b) pseudo 

c) block diagram
d) program 

e) code   √

f) algorithm

6
 Which of the following commands pseudo suitable for display?

(Которая из следующих команд pseudo подходящий для показа?)
a) goto 

b) output

c) print        
d) display
   

e) input

f) get

7
 How many entry points can have a flow chart?

(Сколько точки входа может иметь диаграмма потока?)
a) 1  

b) 2

c) 3
d) 4

e) 5

f) any number of

8
 How operands is a binary operator?

Как операнды является двоичным оператором?
a) 1

b) 2  

c) 3
d) 4

e) 5

f) any number of

9
How operands is a unary operator?

Как операнды является унарный оператор?
a) 1  

b) 2

c) 3
d) 4

e) 5

f) any number of

10
 How to set a single-line comment in C?

(Как установить однострочный комментарий в C)
a) /*…*/

b) {…}

c) (…)
d) //…
   

e) […]

f) <…>

11
 How to set a multi-line comment in C?

(Как установить многострочный комментируют в C? )
a) /*…*/  √

b) {…}

c) (…)
d) //…

e) […]

f) <…>

12
 Mark the correct identifikators.

(Отметьте правильный идентификатор)
a) int 

b) _1

c) $x
d) int1

e) 1float

f) xyz    √

13
 What is a qualifier for the number in octal calculation?

(Что такое - определитель для номера в восьмиричном вычислении?)
a) %x 

b) %o    

c) %g
d) %d
 

e) %f

f) %s

14
 What is a qualifier for a real number?

Что такое - определитель для вещественного числа
a) %x 

b) %o

c) %c
d) %d

e) %f   √

f) %s


16
 As indicated by the modulo operation in C?

Как указано действием модуля в C
a) div 

b) /

c) /=
d) mod

e) %  

f) &


18
 That will lead the next program:

Это приведет следующей программы:
float x = 10/3;
printf("%f", x);?
a) 3.333333

b) 3.000000    

c) 3
d) 3.33
 

e) 4

f) 3.333



20
 What operation can be increased by one variable x?

Какое действие может быть возрос один изменчивый x?
a) x+1

b) x++    √

c) x+
d) x=+1

e) x++1

f) +1x

21
 What preprocessor can create a constant?

(Какой препроцессор может создать константу)
a) #include

b) #constant

c) #new  
d) #create

e) #make

f) #define     √

22
 What special character moves the cursor to a new line?

(какой специальный знак перемещает курсор на новую линию)
a) \n      √

b) \t

c) \r
d) \ln

e) \newline

f) \a

23
 As indicated by a real type in C?

Как указано реальным типом в C
a) int 

b) real    √

c) string
d) char

e) float  √

f) void

24
 As indicated by an integer  type in C?

Как указано целым  типом в C
a) int       √

b) real

c) integer
d) char

e) float

f) void

25
 As translated into English by the word variable?

Как переведено на английский язык переменной слова
a) integer 

b) character

c) variable    √
d) type

e) string

f) length

26
 How many bits in a byte?

Сколько битов в байте
a) 2

b) 4

c) 6
d) 8
  √

e) 10

f) 16

27
 What is the number 10 in the binary system?

номер 10 в двоичной системе
a) 1111111111

b) 1010    √

c) 100
d) 10

e) 101

f) 110

28
 As translated into English by the word line?

Как переведено на английский язык строка слова
a) integer 

b) character

c) variable
d) type

e) string    √

f) length

29
What is the comparison operation is "not equal »?

Что такое - действие сравнения "не равен "?
a) <>

b) =!

c) <=
d) > <

e) !=       √

f) >=

30
 What is the logic operation "or»?

Что такое - логическое действие "или"?
a) or 

b) &

c) ||        √
d) and

e) &&

f) ~

31
 What is the logical operation "and»?

Что такое - логическое действие "и"?
a) or 

b) &      √

c) ||
d) and

e) &&

f) ~

32
 What is a qualifier for the string?

определитель для строки
a) %x

b) %o

c) %c
d) %d

e) %f

f) %s   

33
 What is a qualifier for a decimal?

определитель для десятичной дроби?
a) %x    

b) %o

c) %c
d) %d
 

e) %f

f) %s

34
 What do you call a library of mathematical functions?

 библиотека математических функций
a) numbers.h 

b) math.h      √

c) stdio.h
d) mathematics.h

e) calculations.h

f) stdafx.h

35
 What is a qualifier for the octal?

Что такое классификатор для восьмеричной

восьмиричный  определитель
a) %x 

b) %o   

c) %c
d) %d

e) %f

f) %s

36. The programming language C + + developed

Язык программирования C + + развивался

Ken Thompson

o Niklaus Wirth
o Bjarne Stroustrup       
o Donald Knuth

37. Which reserved word program transfers control if the value of a variable or expression of the switch does not match any of the constant expression?

Который резервировал контроль передач программы слова, если значение переменной или выражения выключателя не соответствует любому из константного выражения?

Default    √

other

all

contingency

38. Which of the following statements is not a cycle?

Которое из следующих утверждений - не цикл

for

repeat until   √

do while

while

39. Which of the following types of data is not a data type in C + +?

Который из следующих видов данных - не тип данных в C + +?

Real    

double

float

int

40. What is, by default, returns the operating system software on success?

по умолчанию что  возвращает операционное системное программное обеспечение на успехе?

The program does not return.

0

1

-1

41. Indicate the correct form of write cycles do while?

Укажите правильной формы циклов записи do while?

// form of writing the operator of cycle do while:

do // start of the cycle do while

{

/* block of statements */;

}

while (/*execution condition of cycle */) // end of cycle do while

// form of writing the operator of cycle do while:         √

do // start of the cycle do while

{

/* block of statements */;

}

while (/*execution condition of cycle*/); // end of cycle do while

// form of writing the operator of cycle do while:

do // start of the cycle do while

{

/* block of statements */;

}

while {/* execution condition of cycle */} // end of cycle do while

42. Enter the correct definition of the main function in accordance with the specification of ANSI

Введите правильное определение главной функции в соответствии со спецификацией ANSI

void main(void)

int main()


int main(void)

    √

void main()

43. To include the header file in the program in C + +, such as iostream must write:

Чтобы включить файл заголовка в программе в C + +, такие как Iostream должны написать:

include #iostream,h;

#include <> с iostream inside the brackets    

include (iostreamh)

#include <>; с iostream.h inside the brackets     

44. Simple data types in C + +.

Простые типы данных в C + +.

integer – int, real – float or real, character – char

integer – bool, real – float or double, character – string

integer – int, real – float or double, character – string

integer – int, real – float or double, character – char                

45. Cycle with the precondition?

Цикл с предварительным условием

while        √

for

do while

46. Which statement does not permit a constant transition from one expression to another?

Который из утверждение не разрешает постоянное перемещение от одного выражения к другому

break;   √

Stop;

end;

semicolon

47. What function should contain all the programs in C + +?

Какую функцию должна содержать все программы в C + +?

program()

system()

      main()


                     

start()

48. Which of the following entries - correct comment in C + +?

Который из следующих входов - правильный комментарий в C + +?

*/ Comments */

/* Comments */     √

** Comments **

{ Comments }

49. What special characters are used to indicate the beginning and end of the code block?

Какие специальные знаки использованы, чтобы указать начало и конец кодового блока?

begin end

( )

{ }        √

< >

50. The general format of the operator of multiple choice – switch

Общий формат оператора множественного выбора - переключатель

switch (switch_expression)

{

case constant1, case constant2: statement1; [break;]

case constantN: statementN; [break;]

[default: statement N+l;]

}

switch (switch_expression)

{

case constant1: statement1; [break;]

case constant2: statement2; [break;]

case constantN: statementN; [break;]

[else: statement N+l;]

}

switch (switch_expression)

{

case constant1: statement1; [break;]

case constant2: statement2; [break;]

case constantN: statementN; [break;]

[default: statement N+l;]

}

  √

51. Program that translates source program in the source language into an equivalent output of a program on the resulting language is called:

Программа, которая переводит исходную программу на языке оригинала в эквивалентную выходе программы по полученной языке называется:

o translator     
o interpreter
o scanner
o compiler   

52. Which service sign is placed after the operator case ?

Который сервисный знак размещается после случая оператора

:      √

;

-

.

53. Operator constant declarations

Объявления константы оператора

const := ;      

const = ;       

const =

54. Structure variable declarations in C + +

Структурные описания переменной в C + +

[=];< идент. 2>,…;    √

[==]; < идент. 2>,…;

[=], < идент. 2>,…;

[:=], < идент. 2>,…;

55. Which of the following statements - the operator to compare two variables?

Которое из следующих утверждений - оператор, чтобы сравнить две переменных

==    √

equal

:=

=

56. What will be equal to the variable a, after executing this code int a; for(a = 0; a < 10; a++)

Что будет равна переменной А, после выполнения этого кода INT A; для (а = 0; <10; + +){}?

9

1

10    √

57. Specify object-oriented programming language

Конкретизируйте объектно-ориентированный язык программирования

С++

Java

Eiffel

All answers   √

58. The body of any loop is executed as long as its condition...

Тело любого цикла выполняется до тех пор, как его состояние ...

Тело любой петли выполняется, пока его условие...

o true     
o false
o there is no condition in the loop

59. How long will the statements in the loop while (x < 100)?

Как долго будет заявления в контуре в то время как (х <100)?

o As long as x is Stam
o As long as x is less than or equal to Stam
o As long as x is strictly less than one hundred     
o As long as x is greater than one hundred

60. C + + name suggested

Название С++ предложил

o Ken Thompson
o Donald Knuth
o Rick Massitti   
o Bjarne Stroustrup     

61. What programming environment designed for software development?

Какая  среда программирования проектировала для разработки программного обеспечения?

MVS, Code::Blocks, QT Creator, AutoCAD, Eclipse

MVS, NetBeans, QT Creator, RAD Studio, Dev-C++    √

MVS, Code::Blocks, QT Creator, RAD Studio, MathCAD

62. Be printed?

Печататься?

int main()

{

for (int i = 0; i < 4; ++i)

{

switch (i)

{

case 0 : std::cout << "0";

case 1 : std::cout << "1"; continue;

case 2 : std::cout << "2"; break;

default : std::cout << "D"; break;

}

std::cout << ".";

}

return 0;

}

Compile Error in line 10

0.1.2.

0112.D.   √

011.2.D      

01.2.D.

63. Cycle with postcondition?

Цикл с выходным условием

do while     √

while

for

64. What are the signs most of the ends of lines of code in C + +?

Каковы признаки большинство из концов строк кода в C + +

;      

,

:

.

65. What is the result of the following code fragment?

? Что является результатом следующем фрагменте кода

int x = 0;

switch(x)

{

case 1: cout << " One ";

case 0: cout << "null";

case 2: cout << " Hello World ";

}

o nulPrivet world    
o zero
o One
o Hello World





1. Курсовой проект По дисциплине Размещение производственных сил в РФ Выполнила студентка 13эф
2. Поведение среди других детей характеризует интеграцию ребенка в группу сверстников и Поведение на урок
3. Маркетинг и сельскохозяйственный кооператив
4. Вопросы обеспечения качества управления конкурентоспособности предприятия сферы услуг
5. Определение потребности и истребование имущества в мирное и военное время
6. сельскохозяйственное районирование СССР 1980 гг
7. ОСНОВНЫЕ ФАКТОРЫ РАЗВИТИЯ ЛИЧНОСТИ Личность является одним из тех феноменов которые редко истолковывают
8. Тема- Архитектура компьютеров Цель- Образовательная- Закрепить и расширить знания полученные на урок
9. Тема- Мыслители древности о воспитании 2 часа Задания к практическому занятию- 1
10.  Проблема обучения
11. .А~паратты~ ~ауіпсіздік мемкелеттік а~паратты~ ресурстарды~ сондайа~ а~парат саласында жеке адамны~
12. Тема Стороны договора займа и его условия Фамилия студента Григорье
13. Львівська політехніка Інститут права та психології Кафедра цивільного права та процесу
14. Development of Composite Insulators for Overhead Lines
15. а по требованию лица ведущего дела полного товарищества; б по требованию нескольких оставшихся участник
16. Узлы это просто Глава 1
17. Веселая семейка с детьми и родителями в средней группе Подготовили и п.html
18. І.Б. Н. Контр
19. 1Температурное поле
20. Модуль 2 Cимптомы и синдромы при заболеваниях внутренних органов Вариант 9 1