Студопедия Главная Случайная страница Обратная связь

Разделы: Автомобили Астрономия Биология География Дом и сад Другие языки Другое Информатика История Культура Литература Логика Математика Медицина Металлургия Механика Образование Охрана труда Педагогика Политика Право Психология Религия Риторика Социология Спорт Строительство Технология Туризм Физика Философия Финансы Химия Черчение Экология Экономика Электроника

Test of programming languages





 

1 For what operating system was originally created by the C language?
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


4As a sequence of steps to solve the problem?
a) process

b) pseudo

c) block diagram
d) program

e) code

f) algorithm

5As 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?
a) goto

b) output

c) print
d) display

e) input

f) get

7How many entry points can have a flow chart?
a) 1

b) 2

c) 3
d) 4

e) 5

f) any number of

8How 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

10How to set a single-line comment in C?
a) /*…*/

b) {…}

c) (…)
d) //…

e) […]

f) <…>

11How to set a multi-line comment in C?
a) /*…*/

b) {…}

c) (…)
d) //…

e) […]

f) <…>

12Mark 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

14What is a qualifier for a real number?
a) %x

b) %o

c) %c
d) %d

e) %f

f) %s

15C language is case sensitive.
a) yes

b) no

16As indicated by the modulo operation in C?
a) div

b) /

c) /=
d) mod

e) %

f) &

17Can start with a numeric identifier?
a) yes

b) no

18That 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

19Does a C empty type?
a) yes

b) no

20What operation can be increased by one variable x?
a) x+1

b) x++

c) x+
d) x=+1

e) x++1

f) +1x

21What 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

23As indicated by a real type in C?
a) int

b) real

c) string
d) char

e) float

f) void

24As indicated by an integer type in C?
a) int

b) real

c) integer
d) char

e) float

f) void

25As translated into English by the word variable?
a) integer

b) character

c) variable
d) type

e) string

f) length

26How many bits in a byte?
a) 2

b) 4

c) 6
d) 8

e) 10

f) 16

27What is the number 10 in the binary system?
a) 1111111111

b) 1010

c) 100
d) 10

e) 101

f) 110

28As 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) >=

30What is the logic operation "or»?
a) or

b) &

c) ||
d) and

e) &&

f) ~

31What is the logical operation "and»?
a) or

b) &

c) ||
d) and

e) &&

f) ~

32What is a qualifier for the string?
a) %x

b) %o

c) %c
d) %d

e) %f

f) %s

33What 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

35What is a qualifier for the octal?
a) %x

b) %o

c) %c
d) %d

e) %f

f) %s

 

36. The programming language C + + developed

o Ken Thompson

o Niklaus Wirth
o Bjarne Stroustrup
o Donald Knuth

 







Дата добавления: 2015-09-07; просмотров: 412. Нарушение авторских прав; Мы поможем в написании вашей работы!




Расчетные и графические задания Равновесный объем - это объем, определяемый равенством спроса и предложения...


Кардиналистский и ординалистский подходы Кардиналистский (количественный подход) к анализу полезности основан на представлении о возможности измерения различных благ в условных единицах полезности...


Обзор компонентов Multisim Компоненты – это основа любой схемы, это все элементы, из которых она состоит. Multisim оперирует с двумя категориями...


Композиция из абстрактных геометрических фигур Данная композиция состоит из линий, штриховки, абстрактных геометрических форм...

Приготовление дезинфицирующего рабочего раствора хлорамина Задача: рассчитать необходимое количество порошка хлорамина для приготовления 5-ти литров 3% раствора...

Дезинфекция предметов ухода, инструментов однократного и многократного использования   Дезинфекция изделий медицинского назначения проводится с целью уничтожения патогенных и условно-патогенных микроорганизмов - вирусов (в т...

Машины и механизмы для нарезки овощей В зависимости от назначения овощерезательные машины подразделяются на две группы: машины для нарезки сырых и вареных овощей...

Классификация потерь населения в очагах поражения в военное время Ядерное, химическое и бактериологическое (биологическое) оружие является оружием массового поражения...

Факторы, влияющие на степень электролитической диссоциации Степень диссоциации зависит от природы электролита и растворителя, концентрации раствора, температуры, присутствия одноименного иона и других факторов...

Йодометрия. Характеристика метода Метод йодометрии основан на ОВ-реакциях, связанных с превращением I2 в ионы I- и обратно...

Studopedia.info - Студопедия - 2014-2026 год . (0.011 сек.) русская версия | украинская версия