Podcast
Questions and Answers
What is the primary purpose of sessions and cookies?
What is the primary purpose of sessions and cookies?
- To reduce HTTP request size
- To improve website aesthetics
- To enable JavaScript execution
- To maintain the state of a user across multiple page requests (correct)
What type of data is stored in a cookie?
What type of data is stored in a cookie?
- Executable code
- Audio files
- Key-value pairs of data (correct)
- Image files
What is used to identify a user's session?
What is used to identify a user's session?
- A unique session ID (correct)
- A unique username
- A unique IP address
- A unique browser type
Where is session data stored?
Where is session data stored?
What happens to cookies when they are sent with every HTTP request?
What happens to cookies when they are sent with every HTTP request?
What is the primary purpose of member functions in a class?
What is the primary purpose of member functions in a class?
What is the concept of giving access to only required details to perform a task, without exposing internal details?
What is the concept of giving access to only required details to perform a task, without exposing internal details?
What is the term for binding data and functions that operate on that data under a single unit?
What is the term for binding data and functions that operate on that data under a single unit?
What is an instance of a class, with its own behavior and properties, referred to as?
What is an instance of a class, with its own behavior and properties, referred to as?
How much memory is allocated to each object of a class, if the class has been allocated 10 bytes of memory for its data members and there are three objects of this class?
How much memory is allocated to each object of a class, if the class has been allocated 10 bytes of memory for its data members and there are three objects of this class?
Flashcards are hidden until you start studying