Question: 1 . What is the difference between a compiled language and scripting language? 2 . Suppose a new instruction were inserted as follows: x =
What is the difference between a compiled language and scripting language?
Suppose a new instruction were inserted as follows: x y
x get next input
y get next input
z x y
Add to z
Put z to output
What would the last instruction output to the screen?
Explain the difference between staticallytyped languages and dynamicallytyped languages. Give examples for both.
Write down output from the program below:
printHello my friends. end
printWe already passed... end
printMidtermExam
Write down output from the program below:
grade
printGrade is end
printgrade
printCongratulations
Write a statement that prints the value of the variable numstudents.
Type the program's output:
catage
printFelix is catage, 'years.
Please write down the program's output:
printEnter salary: end Input:
salary intinput
newsalary salary
printNew salary: newsalary
Please write down the missing line of program's code:
num intinput
num intinput
printnum num num
Type a statement that converts the string to an integer and assigns myage with the result.
A basic computer program's instructions get input, process, and put output. TrueFalse
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
