1. Similar to Binary and Hexadecimal number system that we studied in class, let
ID: 3574480 • Letter: 1
Question
1. Similar to Binary and Hexadecimal number system that we studied in class, let us consider another hypothetical number system called hexal number system which is a Base 6 number and can be expressed in terms of 0-5. Convert 68 from Decimal to Hexal. What would it be? (Hint: For converting from Decimal to Hexadecimal, we keep on dividing by 16 and noting the remainders. For converting from Decimal to Binary, we keep dividing the number by 2 and noting the remainders)
A.152
B. 211
C. 112
D. 251
2. Which of the following is not an HTML tag? (Click on one or more options that might be correct)
A.caption
B.border
C.image
D.span
3. How many times does the following for loop run:
for (var i=5; i <=20; i=i+2)
A.7
B.8
C.9
D.10
4. Anne bought a house worth $300,000 out of which she paid 20% as the down payment. She borrowed the remaining amount from the bank. The Annual Percentage Rate is 3.65% and she has to pay an installment every 4 months over a period of 15 years. What would be the formula to calculate the installments in spreadsheet?
A.=PMT(3.65, 15, 300000)
B.=PMT(3.65/4, 15*4, 240000)
C.=PMT(3.65/3, 15*3, 240000)
D.=PMT(3.65/4, 15*4, 300000)
E.None
5. What would be the result of adding 4+3+"7" in javascript?
A.14
B.437
C.77
D.Undefined
Explanation / Answer
1) 68/6=2; 11/6=5, 6/6=1 =>152
2) border is an attribute not tag and image tag is denoted by img
3) 8 all odds between 5 and 20 including 5
4) B. As 240000*3.65*15/100=131400/4=32850/4 months.
5) C => 4+3=7+"7"=77 as string
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.