Softwareknowlege Exam
-
Upload
alberto-cantor -
Category
Documents
-
view
213 -
download
1
description
Transcript of Softwareknowlege Exam
![Page 1: Softwareknowlege Exam](https://reader036.fdocuments.us/reader036/viewer/2022080915/55cf9054550346703ba4f384/html5/thumbnails/1.jpg)
Name _________________________________________________________________Date___________________________________________________________________
Software Exam1. What is the equivalent hex value for 11010111 and 11110110
2. An eeprom cell has the following data 10X1011X and the test sotware saves it in a parameter A. 'X' means, that you don´t know the value of that bit . Change its value with on line of code ( using AND and OR functions ) to get 10110110. Please show the operations in the binary number system.
3. What is the MSB, LSB high nibble and low nibble of &HA34. Compare the two data types
Bytes in memory Integer WordMin Value rangeMax Value range
5. Why does &H8000 in some programming languages results in a negative number 6. See the code example below and calculate the values after the procedure call
Private Sub command1_click()Dim Result1 as Integer Dim Result2 as IntegerDim Start1 as IntegerDim Start2 as Integer
Start1=3Start2=2Result1=0Result2=0Calc1 Start1, Result1Calc2 Start2, Result2End Sub
Sub Calc1 (ByVal A as Integer, ByRef B as Integer)A=A*4B=A/2End Sub
Sub Calc2 (ByRef C as Integer, ByVal D as Integer)C=C*4D=D/2End Sub
7. Describe the reason for the result in Question 68. what is the major difference between a while (condition) ….wend and Do…Loop until(condition)9. What is a BCD number?, What is Decimal value of BCD 13?