stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Julia Flashcards | StudBud
Explore
/
Julia
Julia
13 terms
·
StudBud Administration
·
20 plays
Imported from external platform
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
What is the proper way to write an if else statement in Julia?
if; elseif
if; else if
if; elif
switch
2
write a function that returns a random valye between 1 and 10
Rand(10)
rand(1:10)
random(1,10)
rand(1:11)
3
What does the == operator do?
compares two values
Assigns a value
returns the data type
appends to a string
4
Julia is named after the actress Julia Roberts
True
False
5
What keyword signals the end of a block of code?
over
done
end
fin
6
What keyword adds other libraries to julia
using
pip
import
install
7
Where is Julia used most?
Cybersecurity
Databases
Cryptography
Scientific Computing
8
What year was Julia released?
2012
1865
2024
1960
9
What character do you append to a variable name in order to print it?
#
!
%
$
10
How do you define a variable x with value 7?
var x = 7
x <- 7
let x = 7
x=7
11
Which function gives you the size of an array in Julia
length()
getSize()
count()
size()
12
What keyword is used to define a function?
def
function
fn
fun
13
What is the default starting index for arrays
depends on the context
1
-1
0