Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Cs50 week 1 questions fully solved & updated 2025.

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
11-03-2025
Written in
2024/2025

Cs50 week 1 questions fully solved & updated 2025.

Institution
CS50
Course
CS50

Content preview

Cs50 week 1 questions fully solved &
updated 2025

Argument - answer costumization within a function


\n- - answer hits return on your keyboard


While - answer do over and over when ______ is the case


True - answer is always true, no matter what, so "while (true)" leads
to a forever loop


For - answer functions like 'while' but for defiente loops


For loop - answer (int i = __; i <> __; i++) when i is less than a
certain number, lets you preform an action a certain number of
times


heirachal simplifixation - answer make things functions, de clutter
your main function, and reuse functions


variable - answer usually set to zero, "int i = 0" (if integer)


Boolean - answer questions that are yes or no, "i < 50" or "x > y" (so
long as you've declared them)


Conditions - answer set a condtion that must be met in order for the
respective code to run, start with 'if' everthing in middle 'else if' end
with 'else'

, Arrays - answer usually called 'argv', a list of varibles contained
within one varible, declared as argv[*amount in list*], fetch from list
with argv[*number of list item*]


Main - answer function in c that is run by default


Complier - answer converts source code into binary


File names in c - answer all files written in c end in .c


Clang - answer short for c language, compiles c


How to compile - answer type "make *desired file name*" into
workspace


When you make a change to code - answer must always run through
the compiler again


Ls - answer shows you all programs in the current directory


Float imprecison - answer there are infinite numbers in a decimal,
the computer can only store so many numbers, after a while I t
starts making numbers up


Rm - answer removes or deletes something from your workspace


Mkdir - answer make directory


Rmdir - answer remove directory

Written for

Institution
CS50
Course
CS50

Document information

Uploaded on
March 11, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
745
Member since
2 year
Number of followers
257
Documents
24927
Last sold
1 day ago

4.5

351 reviews

5
271
4
31
3
23
2
6
1
20

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions