Monday, August 5, 2024
Why does steam cause more severe burns than boiling water?
Sunday, August 4, 2024
Why does a fish regardless of its size feel the same pressure at the same depth in water?
Saturday, August 3, 2024
What is a Race condition
In parallel programming, if 2 threads try to access the same shared resource simultaneously then this can lead to unpredictable behaviour or errors this is called race condition
Friday, August 2, 2024
What are the phases of a compiler
1. Lexical analysis (Scanning)
Breaking out the source code into token(keywords, identifiers, operators and literals
The stream of tokens acts as an input to the next phase
2. Syntax analysis(parsing )
Checks the sequence of the tokens for syntactic errors as per the Grammer rules of the programming language
Constructs a parse tree (syntax) tree that represents the syntactic structure of the program
3. Semantic analysis
Checks the meaning of each statement as per the language rules
Ensures the the declaration, types and usage is variables and functions are semantically correct
Generates an annoyed syntax tree ( AST) with type informs and references
Thursday, August 1, 2024
What is NVIC
NVIC or Nested vector interrupt controller is used for
1. Controlling the interrupt traffic that comes to the controller
2. The configuration of external interrupts
3. Enabling , Disabling and pending interrupts
4. Priority and Priority grouping can also be done by the NVIC
5. Preempting a low priority interrupt when a high priority interrupt arrives
Wednesday, July 31, 2024
What is a memory map
1. A file that contains mapping of different regions in the addressable memory location range.
2. Memory maps are fixed in the processor designs.
3. Explains the mapping of various peripheral registers.
4. Processor addressable memory ranges depend on the size of the address bus.
Tuesday, July 30, 2024
What is a Reset handler
A Reset handler is a program or a assembly function that carries out all the required initialisations before calling the main function
The Reset handler is implemented in the Startup file of the code.
What is anti- Debugging
Anti- debugging is how we can stop somebody from debugging our system and getting all the information out of your subsystem.
-
When electricity travels through a shorter distance,it encounters less resistance as a result the current increases. The heat generated by e...
-
Ans: Cells have various shapes: oval, spherical, rectangular, elongated, irregular , etc The red blood cells are spherical or disc- shaped. ...
-
Ans : The non - directional movement of a plant part usually the petals of a flower in response to light is called photonasty. Examples : A...