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)

Harvard CS50 Week 1: Data Types & Variables Questions And Answers.

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
26-05-2024
Written in
2023/2024

Harvard CS50 Week 1: Data Types & Variables Questions And Answers. What is an "int?" - CORRECT ANSWER -The int data type is used for variables that will store integers - Integers always take up 4 bytes of memory(32 bits). Range of information that can be stored is limited to 32 bits What is an "unsigned int?" - CORRECT ANSWER - qualifier that effectively doubles the range of positive variables of that type at the expense of negative values What is a "char?" - CORRECT ANSWER - used for variables that will store single characters - chars only take 1 byte of memory(8 bits) What is a "float?" - CORRECT ANSWER - used for variables that will store floating point values, or real numbers(numbers w/ decimal point) - always take up 4 bytes of memory(32 bits) - they have a precision problem What is a "double?" - CORRECT ANSWER - also stores floating point values - they are double precision, therefore more precise with real numbers - take up 8 bytes of memory(64 bits)

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
May 26, 2024
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
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


Also available in package deal

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.
Nursewendo st georges london
Follow You need to be logged in order to follow users or courses
Sold
69
Member since
2 year
Number of followers
19
Documents
4976
Last sold
6 hours ago
EXAMS FOR TESTBANKS, PACKAGE DEALS,SINGLE DOCUMENTS ETC.

ARE YOU LOOKING FOR STUDY MATERIALS FOR YOUR EXAMS ??? LOOK NO FURTHER,WE DEAL WITH ALL COURSES E.G TESTBANK,PACKAGE DEALS,SINGLE DOCUMENTS,AQA E.T.C. DO NOT WORRY I WILL SORT YOU OUT WITH ALL YOUR STUDY GUIDES WITH AN A+ RESULT . BEST OF LUCK.!!

3.7

21 reviews

5
11
4
1
3
4
2
1
1
4

Recently viewed by you

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