Posts

Application Development using Python (18CS55) VTU Questions and Solutions - 1

Image
  1. Demonstrate the operator precedence & associative rule with respect to arithmetic operations with examples.  5 M Operator Operation Example Evaluates to Associative rule ** Exponent 2 ** 3 8 right-to-left % Modulus/remainder 22 % 8 6 Left to right // Integer division/floored quotient 22 // 8 2 Left to right / Division 22 / 8 2.75 Left to right * Multiplication 3 * 5 15 Left to right - Subtraction 5 - 2 3 Left to right + Addition 2 + 2 4 Left to right 2.  Implement a Number Guessing Game by ensuring the following criteria     • The guess number is generated by the ...

Microcontroller and Embedded systems Questions and Scheme of Evaluation

Image
First Internals 1. (a). List the key differences between Microprocessor & Microcontroller (b). Interpret the concept of Pipeline in ARM Processors with respect to 3, 5 and 6 stages 2. (a). Explain the concept of Combined Cache and Tightly Coupled Memory as part of Core Extension in ARM processors (b). Compare RISC Processors and CISC Processors by considering appropriate parameters 3. Explain the components of the typical Embedded System Hardware with a neat diagram 4. Summarize the ARM Core data flow model with a neat diagram 5. Classify (only names) the ARM Instructions set and show the operation of the following instructions with the syntax and example (i). LDR (ii). BL (iii). SMULL (iv). LDMIA 6. Illustrate the operation of Barrel Shifter for the following ARM instructions, write the value at r7 after executing each instruction along with CPSR conditional flag nzcv bit value (i) MOV r7,r5, LSL #2 (Consider r5=0x80000004) (ii) MOV r7,r5, LSR #2 (Consider r5=0x00000008) ...