ALGORITMA DAN
PEMROGRAMAN TT-46-09
[VST]
Dashboard / My courses / TUI1E3-TT-46-09
Saturday, 4 March
Started on
2023, 7:33 PM
State Finished
Saturday, 4 March
Completed on
2023, 7:37 PM
Marks 15.00/15.00
Question 1
Correct
Flag question
Select one:
True !
False
Question 2
Correct
Flag question
Select one:
True !
False
Question 3
Correct
Flag question
float r,luas;
scanf("%f", &r);
luas=phi*r*r;
printf("%f", luas);
Select one:
a. 3.14
b. 314
c. 300
d. 314.00 !
e. 314.0000
Question 4
Correct
Flag question
int a,b,c,d;
scanf("%d %d",&a,&b);
if(a<=b) {
printf("%d",a);
}else{ printf("%d",b);}
Select one:
a. 0
c. 10
d. 1
e. 5 !
Question 5
Correct
Flag question
Select one:
a. block.luas_permukaan=2* !
(block.panjang*block.lebar)+2*
(block.panjang*block.tinggi)+2*
(block.lebar*block.tinggi)
b. luas_permukaan=2*
(panjang*lebar)+2*
(panjang*tinggi)+2*
(lebar*tinggi)
c. luas_permukaan=2*
(block.panjang*block.lebar)+2*
(block.panjang*block.tinggi)+2*
(block.lebar*block.tinggi)
d. BLOCK.luas_permukaan=2*
(BLOCK.panjang*BLOCK.lebar)+2*
(BLOCK.panjang*BLOCK.tinggi)+2*
(BLOCK.lebar*BLOCK.tinggi)
e. block.luas_permukaan=2*
(BLOCK.panjang*BLOCK.lebar)+2*
(BLOCK.lebar*BLOCK.tinggi)+2*2*
(BLOCK.lebar*BLOCK.tinggi)
Question 6
Correct
Flag question
Select one:
b. flowchart
c. pseudecode !
d. algoritma
e. seleksi
Question 7
Correct
Flag question
Select one:
a. Int a=(!,2);
b. int a()={1,2};
c. Int a{}=[1,2];
d. int a;
e. int a[2]={1,2}; !
Question 8
Correct
Flag question
int angka
input(angka)
if (angka%7==0){
}else{
Select one:
c. Error
Question 9
Correct
Flag question
Select one:
c. struct mahasiswa{ !
char nama[30];
int nilai;
char indeks[10];
e. struct mahasiswa{
char nama[30];
int nilai;
char indeks[10];
}nilai;
Question 10
Correct
Flag question
#include<stdio.h>
int main()
printf("%s",arr);
Select one:
b. Kompilasi error !
c. The
d. African
e. The African
Question 11
Correct
Flag question
z = x + y;
y = z - y;
x = z - y;
Select one:
a. 24 39 45
c. 39 24 63 !
d. 39 24 45
e. 24 39 63
Question 12
Correct
Flag question
int main(){
char d = 0;
if(a,b,c,d)
printf("BENAR");
}}
Select one:
b. BENAR
Question 13
Correct
Flag question
int main()
int a=2,b=7,c=10;
c=a==b;
printf("%d",c);
Select one:
b. 0 !
c. 2
d. kompilasi error
e. 7
Question 14
Correct
Flag question
#include <stdio.h>
int main(){
return 0;}
Select one:
b. Hello World!
d. Hello World! x;
Question 15
Correct
Flag question
#include <stdio.h>
int main(){
int y = 10000;
int y = 34;
return 0;}
Select one:
b. Hello World! 34
Finish review
Previous Activity
Jump to...
Next Activity
Address
Gedung Panehan Pasca Sarjana Lantai 1,
Jl. Telekomunikasi Terusan Buah Batu,
Bandung - 40257, Indonesia
Related Links
Follow Us
$ % & ' ( )
Blog
Recent Blog
Create Blog
How To Blog
English (en)
Bahasa Indonesia (id)
English (en)