Final Test Math Computations

Final Test Math Computations

University

10 Qs

quiz-placeholder

Similar activities

SC1-BAI8-PHAN2

SC1-BAI8-PHAN2

University

10 Qs

Własności czworokątów

Własności czworokątów

8th Grade - Professional Development

8 Qs

Quiz - CM6

Quiz - CM6

University

14 Qs

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

University

14 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Process modeling

Process modeling

University

10 Qs

conversioni BIN DEC

conversioni BIN DEC

12th Grade - Professional Development

12 Qs

FIVIZZ: WEEK 11 - PROGRAMMING 2

FIVIZZ: WEEK 11 - PROGRAMMING 2

University

10 Qs

Final Test Math Computations

Final Test Math Computations

Assessment

Quiz

Mathematics, Computers

University

Practice Problem

Hard

Created by

muh irwan

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?