2004年 上交通大学 C++语言程序设计期末考试.docVIP

  • 10
  • 0
  • 约 6页
  • 2016-12-03 发布于河南
  • 举报

2004年 上交通大学 C++语言程序设计期末考试.doc

2004年上交通大学C语言程序设计期末考试

C++ Examination: Wednesday 1st December 2004 《C++语言程序设计考题》 (5 marks) What is the binary value of the decimal 7? (10进制中的7表示为二进制,结果为多少) What is the hexadecimal value of the decimal 16?(10进制中的16表示为16进制,结果为多少) What is the binary valueas a decimal?(二进制应的十进制是多少) What is the value of the binary sum 00101 + 00011?(两个二进制数00101 和 00011相加的结果是多少)(注意:结果用二进制表示) What is the value of the hexadecimal multiplication 2 x 10?(十六进制数2和10相乘的结果是多少)(注意:结果用十六进制表示) (5 marks) Using the ASCII table below, what is the value of the hexadecimal sequence “43 2B 2B 20 45 78 61 6D 21” ? 根据下面的ASCII码表,写出十六进

文档评论(0)

1亿VIP精品文档

相关文档