☰ خطة العام · تكنولوجيا المعلومات والاتصالات (بالإنجليزية)

The converter in VB.NET: window, code and tests

الأسبوع 6 · الوحدة ١ الموضوع الثاني: مشروع محوّل الأعداد بلغة VB.NET: النافذة وأدوات التحكم والخصائص والكود · 3 دروس
Answers are for parents and teachers.
1
Trace the handler for the typed text 8 with Decimal ticked in From and Binary ticked in To. Give fromBase, toBase, number and the message.
2
The user types 2B, with Hexadecimal in From and Decimal in To. What does the message box show? Show the working.
3
The user types 5E, with Hexadecimal in From and Binary in To. Give the message and explain why it has seven digits.
4
A tester types 11 01, with a space in the middle, and ticks Binary in From. What happens in the plain converter and in the Try … Catch version?
5
Which change to the last line makes the message show capitals? Write the line.