




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A series of questions and answers related to programming knowledge in cse 6242. It covers topics such as number representation in different bases (decimal, octal, hexadecimal), binary digit conversion, and character handling in c programming. Useful for students preparing for exams or quizzes in programming courses.
Typology: Exams
1 / 8
This page cannot be seen from the preview
Don't miss anything!
CSE 6242 Programming Knowledge Prep|Questions and Answers|
In Java. C or C++ code. when a number begins with a leading O, what do you know about that number: (example: int zzz = 012;) — ANS—-Octal In Java, C or C++ code, when a number begins with a leading Ox, what do you know about that number: (example: int 77% =Ox1 — ANS-Hexadecimal In Java, C or C++ code, when a number begins without a prefix, what do you know aboul that number: (example: int zzz =12;) - ANS—Decimal How many binary digits are necded to represent one hexadecimal digit? - ANS—-4 In C, in your writcline function, you have a loop of printing characters terminating when processing what character: - ANS—-\O Should you print a NULT. character in writcline? - ANS-No Write the hexadecimal value that represents all 1s for 64 bits - ANS- OxPEEE EEE EEE EEE EEE Assuming a 4 bit unsigned word. convert the binary number 0101 to hexadecimal: — ANS—Ox5