# BİLGİ TEKNOLOJİLERİ VE PROGRAMLAMA DERSİ SINAV HAKKINDA SORU İNGİLİZCE

+1 oy
40 görüntü
Programlama & Tasarım dizininde
düzenlendi

1. What will be the value of variable x after the following program has been run?

x := 2; for i := 2 to 5 do x := x ú i

A) 240 B) 2 C) 120 D) 5

2. What is the binary representation of 12?

A) 1101 B) 1110 C) 1010 D) 1100

3. Which of the following devices usually features the greatest capacity?

A) HDD or SSD B) CPU registers C)RAM D) CD or DVD

4. What is the binary representation of 13?

A) 1100 B) 1010 C) 1101 D) 1110

5. What will be the value of variable x after the following program has been run?

x := 1; for i := 2 to 5 do x := x ú i

A) 5 B) 2 C) 240 D) 120

6. What will be the value of variable x after the following program has been run?

x := 2; for i := 2 to 4 do x := x ú i

A) 120 B) 24 C) 48 D) 2

7. How many asterisks will the following program write to the screen?

i := 1; while i <= 100 do begin write(’*’); i := i + 1 end

A) 99 B) 100 C) 98 D) 101

8. How many asterisks will the following program write to the screen?

i := 0; while i < 100 do begin write(’*’); i := i + 1 end

A) 100 B) 98 C) 99 D) 101

9. How many asterisks will the following program write to the screen?

i := 0; while i <= 100 do begin write(’*’); i := i + 1 end

A) 101 B) 99 C) 100 D) 98

10. What is the decimal representation of 10001(2)?

A) 10 B) 17 C) 24 D) 26