JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Modules 3A-3C eWorksheet: 2 points
Fill out the following worksheet. We will discuss soon!
Simplify the following functions or answer the questions. Remember to check your ASCII chart as needed.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Email
*
Your email
#1) ord(';');
*
Your answer
#2) chr(2400 div 50);
*
Your answer
#3) pred(pred(pred('@')));
*
Your answer
#4) chr(ord('d') - ord('!'));
*
Your answer
#5) writeln(chr(75),chr(105),chr(78),chr(100),chr(84),chr(58),chr(41));
*
Your answer
#6) succ(chr(ord(pred('J'))))
*
Your answer
#7) How much is the ordinal shift to turn an uppercase letter into its lowercase (A --> a)?
*
Your answer
#8) Which of the four functions will take a character as an input and output an integer?
*
succ
pred
ord
chr
#9) succ(pred(succ(pred(succ(pred('N'))))));
*
Your answer
#10) Find the FALSE statement regarding variables of type char.
*
They can store a single symbol.
They can hold a blank space, as well as an underscore.
They can hold single numerical digits, which can then be added together (or subtracted, multiplied, etc.)
Their identifying names follow the same rules as all other variables: cannot start with a number, no blank spaces, and no symbols besides the underscore.
Next
Clear form
Never submit passwords through Google Forms.
Forms
This form was created inside of Elizabethtown Area School District.
Report Abuse
Terms of Service
Privacy Policy