91com在线观看_五级片网站_久99视频_快播91_91免费版看片_www.91视频com

当前位置:高考升学网 > 招聘笔试题 > 正文

微软2019校长笔试真题及答案(三)

更新:2023-09-13 09:21:59 高考升学网
  题目五:   Questions #1   1) How would you calculate the hash value of a string?   2) List two major requirements of a hashing function   Questions #2: Logical expressions   Assuming A, B, C are conditions. You can write logical expression that yields specific results. For example,   A   B   Result   0   0   0   0   1   1   1   0   1   1   1   1   Expression “   A or B” will give above result   A   B   Result   0   0   0   0   1   1   1   0   0   1   1   0   Expression “   (not A) and B” will give above result   Please write the simplest logical expression that will give the following results (using only   and, or, not operators)   A   B   C   Result   0   0   0   0   0   0   1   1   0   1   0   1   0   1   1   0   1   0   0   1   1   0   1   0   1   1   0   0   1   1   1   1   Expression:   A   B   C   Result   0   0   0   0   0   0   1   0   0   1   0   1   0   1   1   1   1   0   0   0   1   0   1   1   1   1   0   0   1   1   1   1   Expression:   Please rewrite the following If statements (in C) into just one If statement   For example,   if ( a > 10 )   {   if ( b < 5 )   {   Run();   }   }   can be rewritten as if ( a > 10 && b < 5 ) { Run(); }   Please rewrite the following if statement:   if ( a > 10 && b < 5)   {   if ( a > 15 )   {   Run();   }   }   else if ( b > 6 )   {   Run();   }   Questions #3   Please write a function in C to copy one string to another, while return the largest letter in the string. Please do not use any C runtime function.   char StringCopy( char pszSrc, char pszDst, int maxSize )   pszSrc: points to the source string   pszDst: points to the target string, where source string will be copied to   maxSize: max. number of characters allowed to be copied   The following code will display “Z”   char sz[100];   char ch;   ch = StringCopy( “Test Zoo”, sz );   printf( ch );   Questions #4   Binary tree can be used for storing and searching data. Please draw a binary tree, constructed by entering the following numbers in sequence:   8, 3, 10, 50, 9, 20, 1, -5, 2, 70, 35, 45, -10, 49, 0   Please draw a balanced binary tree using the same set of numbers as above.   Questions #5   Please define the data structure required to store a linked list of integer and write a routine to delete an integer from a given linked list of integers.   Questions #6   Please explain the difference between array and link-list.   If you are asked to implement a stack, will you use array, or link-list, or both? What are the limitations of using each one?   Questions #7 (Windows Programming)   What is a message pump in Windows?   Please list names of Windows message that is sent when:   A window is created: ______________________   A window needs to be painted: ______________________   A window is destroyed: ______________________

最新图文

2020年河北新闻网两学一做

时间:2023-09-18 07:0:24

2020年河北新闻网两学一做

时间:2023-09-15 11:0:59

两学一做学习教育知

时间:2023-09-21 06:0:30

2020年开展两学一做学习教

时间:2023-09-19 21:0:30
主站蜘蛛池模板: 日本va | 2019中文字幕在线 | 久久久久在线 | 国产偷亚洲偷欧美偷精品 | 精品久久综合1区2区3区激情 | 我不卡手机在线观看 | 亚洲av无码电影网 | 动漫一区二区三区 | 免费观看全黄做爰的视频 | 日日摸日日碰夜夜爽无码 | 国产成人福利在线视频播放尤物 | 2022免费国产精品福利在线 | 一级录像片| 国产精品一页 | 这里有精品可以观看 | 国产精品久久久久久久久久免费 | 国产一区二区免费 | 亚洲欧美另类激情综合区蜜芽 | 久久青青草原精品国产软件 | 亚洲最新在线 | 日本一级毛片大片免费 | 亚洲国产精品无码久久久秋霞1 | 免费一区二区三区视频狠狠 | 国产亚洲精品久久久久久久久激情 | 亚洲白嫩在线观看 | 欧美激情在线精品一区二区 | 亚洲妇熟xxxxx妇色黄 | 又紧又大又爽精品一区二区 | 成年人国产网站 | 久久精品国产亚洲av嫖农村妇女 | 国产成人精品一区二三区在线观看 | 国产精品成人一区二区不卡 | 日韩欧美视频一区二区 | 黄色彩网站网址大全女 | 尤物视频网站在线观看 | 亚洲影院一区 | 日本xxxx色视频在线观看免费 | 一级毛片在线直接观看 | 久爱免费视频 | 国内精品久久久久久99 | 夜色福利久久久久久777777 |