NEW
Font size
WorksheetsProgramming Lesson 1b (CS50x)
Total questions: 11
Worksheet time: 6mins
What takes source code and makes it machine code?
Processor
Algorithm
Compiler
Input
Repl.it is an example of an IDE
True
False
printf("hello, world"); In this C expression, which is the input?
printf
hello, world
hello, world (to the display)
printf("hello, world"); In this C expression, which is the processor?
printf
hello, world
hello, world (to the display)
printf("hello, world"); In this C expression, which is the function?
printf
hello, world
hello, world (to the display)
printf("hello, world"); In this C expression, which is the argument?
printf
hello, world
hello, world (to the display)
Your C program was working, but now printf("hello, world"); is not compiling. What is missing from your code?
input from the user
header file
wrong directory
return value of the function
To run our first program, "./main" tells Replit to run the program "main" in the current file location.
False
True
In Replit, the make command creates source code
True
False
Machine code is computer readable, in binary format
True
False
A compiler creates source code
False
True
