Homework Solution: Do the following number conversion. Covert hexadecimal 100 to its decimal equivalent Covert d…

    ooo TFW 4:29 AM 1 7896 D + Homework 1 3. Please do the following number conversion a) Covert hexadecimal 100 to its decimal equivalent b) Covert decimal 133 to binary equivalent c) Covert octal 77 to decimal equivalent d) Covert hexadecimal AC3D to binary equivalent 4. Please answer which of the following are valid variable names (2) 4Name (5) myVar(5 (3) N4ame (6) Name76 (7) H7aha89 8Name88 (10) a name 8 ha (11) using (8)Namoe (12) include 5. Please answer which of the following statements that will NOT initialize the declared variable as the value after the (1) int var1= 5.5; (2) float var2-5; (3) double var3-6.1; (4) char mychar=haha (5) string mystring = A;
    Do the following number conversion. Covert hexadecimal 100 to its decimal equivalent Covert decimal 133 to binary equivalent Covert octal 77 to decimal equivalent Covert hexadecimal AC3D to binary equivalent Please answer which of the following are valid variable names. _a 4Name N4ame_ ___ myVar(5 Name76 H7aha89 _Name_ 8Name88 a_name_8_ha using include Please answer which of the following statements that will NOT initialize the declared variable as the value after the "=". int var1 = 5.5: float var2 = 5: double var3 = 6.1: char mychar = 'haha': string mystring = "A";

    Expert Answer

    ooo TFW 4:29 AM 1 7896 D + Homework 1 3. Please do the subjoined reckon alteration a) Covert hexadecimal 100 to its decimal equiponderant b) Covert decimal 133 to binary equiponderant c) Covert octal 77 to decimal equiponderant d) Covert hexadecimal AC3D to binary equiponderant 4. Please repartee which of the subjoined are substantial fickle designates (2) 4Designate (5) myVar(5 (3) N4ame (6) Designate76 (7) H7aha89 8Name88 (10) a designate 8 ha (11) using (8)Namoe (12) apprehend 5. Please repartee which of the subjoined statements that gain NOT initialize the apparent fickle as the appreciate subjoined the (1) int var1= 5.5; (2) transport var2-5; (3) envelop var3-6.1; (4) char mychar=haha (5) string mystring = A;

    Do the subjoined reckon alteration. Covert hexadecimal 100 to its decimal equiponderant Covert decimal 133 to binary equiponderant Covert octal 77 to decimal equiponderant Covert hexadecimal AC3D to binary equiponderant Please repartee which of the subjoined are substantial fickle designates. _a 4Designate N4ame_ ___ myVar(5 Designate76 H7aha89 _Name_ 8Name88 a_name_8_ha using apprehend Please repartee which of the subjoined statements that gain NOT initialize the apparent fickle as the appreciate subjoined the “=”. int var1 = 5.5: transport var2 = 5: envelop var3 = 6.1: char mychar = ‘haha’: string mystring = “A”;

    Expert Repartee

     

    4) 1,3,4,6,7,8,10,12 these are substantial

    reason : fickle designate should referable attributable attributable attributable set-on-foot with digits,should referable attributable attributable attributable inclose anyother characters other than undeerscore or a reserverd solution tone.

    5) 1,4