Final Test Math Computations
Quiz
•
Mathematics, Computers
•
University
•
Practice Problem
•
Hard
muh irwan
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Ilmu yang mengintegrasikan matematika terapan dan ilmu komputer disebut…
Pemrograman Matematika
Simulasi Matematika
Teori Komputasi
Komputasi Matematika
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Output Program Berikut adalah
A<-c(3,5,2,1,4)
print(A)
m<-A[1]
for (i in 2:length(A) ){
if(A[i]>m){
m<- A[i]
}
}
cat(m, "\n")
[1] 3 5 2 1 6
6
[1] 1 2 3 5 6
1
[1] 3 5 2 1 6
5
[1] 1 2 3 5 6
6
3.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
Sempurnakanlah Program Berikut sehingga outputnya adalah rata-rata dari X (isilah titik-titik) :
x<-c(1,2,3,4,5,6,7,8,9)
......
ijumlah<-0
for(i in 1<n){
ijumlah<-ijumlah+x[i]
}
meanx<-ijumlah/n
.....
4.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
yang termasuk operator relasi
=
<=
==
!=
x
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
script umum untuk membuat fungsi
nama_fungsi<-function(paramter1, parameter2,..){
}
function<-nama_fungsi(paramter1, parameter2,..)
nama_fungsi<-function[paramter1, parameter2,..]{
}
nama_fungsu<-function{paramter1, parameter2,..}{
}
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Output Program Berikut;
var_loop<-c("perulangan")
i<-1
repeat{
cat(var_loop, i,"\n")
i<-i+1
if(i>3){
break
}
}
perulangan 1
perulangan 2
perulangan 1
perulangan 2
perulangan 3
perulangan 2
perulangan 4
perulangan 6
perulangan 1
perulangan 3
perulangan 5
7.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
yang mana dari script berikut yang merupakan script untuk menghitung nilai faktorial (pilih lebih dari satu)
inisialFak_n<-1
Fak_n<-inisialFak_n;
i<-1
while(i<=n){
Fak_n<-Fak_n*i
i<-i+1
}
fak<-function(n){
if(n==0){
fak<-1;
}else{
return(n*fak(n-1))
}
fak<-function(n){
if(n==0){
fak<-1;
}else{
return((n-1)*fak(n))
}
inisialFak_n<-1
Fak_n<-inisialFak_n;
i<-0
while(i<=n){
Fak_n<-Fak_n*i
i<-i+1
}
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
Assessment 08
Quiz
•
University
15 questions
Luyện tập chung
Quiz
•
2nd Grade - University
10 questions
orden de Informacion 2021
Quiz
•
University
9 questions
0B2 Week 2 Review Session - Complex Arithmetic
Quiz
•
University
10 questions
Calcul Matriciel (Term Maths expertes)
Quiz
•
9th Grade - Professio...
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
cybercrime
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
