Q1. What is the difference between value types and reference types?
Value types store their data directly and are copied on assignment. Reference types store a reference to heap data, and copying copies the reference. - Value types: numer...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (13 available).
Value types store their data directly and are copied on assignment. Reference types store a reference to heap data, and copying copies the reference. - Value types: numer...
A pointer is a variable that stores an address. It can be null, reassigned and used with pointer arithmetic. A reference is an alias for an existing object: it must be in...
The borrow checker enforces the borrowing rules at compile time: you may have either one mutable reference or any number of immutable references, and references must alwa...
Test-driven development is a short cycle that drives design from tests. 1. Red: write a failing test for the smallest next behaviour. It must fail, otherwise it proves no...
ref creates a reactive reference that can hold any value, including primitives, and is accessed through .value in JavaScript while auto-unwrapping in templates. reactive ...
Lifetimes are generic annotations that describe how long references remain valid, so the compiler can prove they never dangle. Most lifetimes are elided and invisible in ...
Drift is a difference between real infrastructure and Terraform state, usually caused by manual changes. Detect: - terraform plan refreshes state and shows differences. -...
CPython combines: - Reference counting for immediate reclamation. Every object tracks how many references point to it; when the count hits zero it is freed. - A cyclic ga...
An access token is short-lived, typically minutes, and is presented to APIs to authorize requests. If it leaks, the exposure window is small. It is usually a JWT so resou...
Early in my teaching I planned an activity that depended on students already understanding a concept they had not secured. Within ten minutes it was clear: most were conf...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.