Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
11Activity
0 of .
Results for:
No results containing your search query
P. 1
soal tik kls xii smt 1

soal tik kls xii smt 1

Ratings: (0)|Views: 1,115|Likes:
Published by Siskaliana Dianita

More info:

Published by: Siskaliana Dianita on Feb 25, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

02/01/2013

pdf

text

original

Jika anda jujur pastikan anda tidak contek

PEMERINTAH DAERAH KABUPATEN
SUKABUMI
DINAS PENDIDIKAN DAN KEBUDAYAAN
SMA NEGERI 1 CIKEMBAR
Jl. Pelabuhan II km. 20 Cikembar \u2013
Sukabumi

ULANGAN UMUM SEMESTER GANJIL
Mata Pelajaran : TIK
Kelas / Program : XII \u2013 IPA/IPS
Hari/Tanggal
:
Sabtu, 16 Desember
2006
Waktu
: Pukul 07.30 \u2013 09.00 WIB
PILIHAN GANDA
Berilah tanda silang (x) pada huruf a, b, c,
d, atau e pada jawaban yang paling benar!

1. Tipe data byte memiliki jangkauan ...
A. 0 s.d 100
B. 0 s.d 200
C. 0 s.d 255
D. 0 s.d 355
E. 0 s.d 155

2. Karakter kontrol didahului oleh karakter
..
A. ?
B. #
C. /
D. {
E. =

3. Komentar program akan diapit oleh ...
A. { ... }
B. ( ... )
C. / ... /

D. { ...
E. ... }
4. Unit standar turbo pascal yaitu ...
A. wincrt
B. crt
C. concrt dan crt
D. wordcrt
E. wincrt atau crt
5. Penulisan nama program benar ...
A. Program demo

B. Program demo\u201d C. Program demo; D. Program demo, E. Program demo.

6. Penulisan konstanta benar ...
A. Const a = 2;
B. Const a = 2.
C. Const a = 2,

D. Const a = 2/
E. Const a = #2

7. Penulisan variabel benar ...
A. Var i : #integer
B. Var i = integer
C. Var i : integer
D. Var i : integer;
E. Var i : integer.

8. Penulisan tipe benar ...

A. A : string[1]; B. A ; string[1]; C. A=string[1]; D. A=string[a];

E. A=string[\u201ca\u201d];
9. Penulisan prosedur benar ...
A. Procedure demo;
B. Proc demo;
C. Prosedur demo;
D. Procedure demo:
E. Procedure demo}

10.Penulisan fungsi yang benar yaitu ... A. Function kali(x,y:integer):integer; B. Function kali(x,y:integer);integer; C. Function kali(x,y:integer):integer:

D. Function kali(x,y:integer)\u201dinteger\u201d
E. Function kali(x,y:integer)\u2019integer\u2019
11.Setelah selesai penulisan program, maka
untuk memeriksanya tinggal menekan
tombol...

A. F6 B. F7 C. F8 D. F9

E. F10
12.Untuk mengkompile program dengan
cara...

A. CTRL-F7 B. CTRL-F8 C. CTRL-F9

D. CTRL-F10
E. CTRL-F11
13.Penulisan program yang benar yaitu:
A. Program latihan:
Uses wincrt
Var
A,B,C : integer

Begin
Clrscr;
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:
\u2018);readln(B);
C := A+B;
Selamat Mengerjakan Ajah ...
1
Jika anda jujur pastikan anda tidak contek
Writeln(C);
Repeat until keypressed;
End.
B. Program latihan:
Uses wincrt;
Var
A,B,C : integer

Begin
Clrscr;
Write(nilai

A
:
);
readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
C. Program latihan:
Uses wincrt;
Var
A,B,C : integer

Begin
Clrscr;
Write(\u2018nilai

A
:
\u2018);readln(A)
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
D. Program latihan:
Uses wincrt;
Var
A,B,C : integer;

Begin
Clrscr;
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
E. Program latihan:
Uses wincrt;
Var
A,B,C : integer

Begin
Clrscr
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:
\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;
End.
14.Untuk menanyakan sesuatu digunakan

perintah....
A. Write( \u2018.... \u2019 ) ; readln( ... );
B. Write( \u201c.... \u201c ) ; readln( ... );
C. Write( \u2018.... \u2019 ) ; readln( \u201c...\u201d );
D. Write( \u2018.... \u2019 ) ; readln( \u2018...\u2019 );
E. Write( \u201c.... \u201c ) ; readln( \u201c...\u201d );

15.Untuk
menampilkan
tulisan
menggunakan perintah ...

A. Writeln( \u2018.... \u2019 ) ;
B. Writeln( \u201c.... \u201c ) ;
C. Writeln( !.... ! ) ;
D. Writeln( \u201c.... \u201c ) ; readln( ... );
E. Writeln( \u2018\u2019.... \u2019\u2019 ) ; readln( ... );

16.Program manakah yang menghasilkan
nilai benar...
A. Program latihan:
Uses wincrt
Var
A,B,C : integer

Begin
Clrscr;
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
B. Program latihan:
Uses wincrt;
Var
A,B,C : integer

Begin
Clrscr;
Write(nilai

A
:
);
readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
C. Program latihan:
Uses wincrt;
Var
A,B,C : integer
Begin
Clrscr;
Selamat Mengerjakan Ajah ...
2
Jika anda jujur pastikan anda tidak contek
Write(\u2018nilai
A
:
\u2018);readln(A)
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
D. Program latihan:
Uses wincrt;
Var
A,B,C : integer;

Begin
Clrscr;
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
E. Program latihan:
Uses wincrt;
Var
A,B,C : integer

Begin
Clrscr
Write(\u2018nilai

A
:
\u2018);readln(A);
Write(\u2018nilai
B
:

\u2018);readln(B);
C := A+B;
Writeln(C);
Repeat until keypressed;

End.
17.Berikut penulisan prosedur yang benar ..
A. Procedure awal
Var

x,y : integer;
Begin
Write(\u2018Nilai X : \u2018);readln(x);
Write(\u2018Nilai Y : \u2018);readln(y);
End;

B. Procedure awal;
Var

x,y : integer
Begin
Write(\u2018Nilai X : \u2018);readln(x);
Write(\u2018Nilai Y : \u2018);readln(y);
End;

C. Procedure awal;
Var

x,y : integer;
Begin
Write(\u201cNilai X : \u201c);readln(x);
Write(\u2018Nilai Y : \u2018);readln(y);

End;
D. Procedure awal;
Var

x,y : integer;
Begin
Write(\u2018Nilai X : \u2018);readln(x);
Write(\u2018\u201dNilai Y : \u2018\u201d);readln(\u201cy");
End;

E. Procedure awal;
Var

x,y : integer;
Begin
Write(\u2018Nilai X : \u2018);readln(x);
Write(\u2018Nilai Y : \u2018);readln(y);
End;

18.Penulisan fungsi yang benar yaitu...
A. Function y1(x,y:integer):Integer;
Begin
Y1=x+y;
End;
B. Function y1(x,y:integer):Integer;
Begin
Y1=x+y
End;
C. Function y1(x,y:integer);Integer;
Begin
Y1=x+y;
End;
D. Function y1(x,y:integer):Integer:
Begin
Y1=x+y;
End;
E. Function y1(x,y;integer):Integer;
Begin
Y1=x+y;
End;
19.Dari program berikut yang menghasilkan
nilai 10 yaitu ...
A. Program hitung;
Var
X,y,z : integer;

Begin
Clrscr;
x :=4;
y :=6;
Z := x+y;

End.
B. Program hitung;
Var
X,y,z : integer;

Begin
Clrscr;
x :4;
y :6;
Z := x+y

End.
C. Program hitung;
Selamat Mengerjakan Ajah ...
3

Activity (11)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Junaidi Machfud liked this
Hengky Ginting liked this
Indra Aja liked this
Saiful Deru liked this
Eko Wahyudi liked this
joklin liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->