Computer Science MCQs · Bootstrap Which class is used to create a responsive table in Bootstrap? A .responsive-table B .table-responsive Correct answer C .table D .table-grid MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which class is used to create a responsive image in Bootstrap? A .img-responsive Correct answer B .responsive-img C .image-responsive D .responsive-image MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which class is used to create a card in Bootstrap? A .panel B .card Correct answer C .box D .container MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which class is used to create a responsive embed video in Bootstrap? A .embed-responsive Correct answer B .video-responsive C .responsive-video D .embed-video MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which class is used to create a button group in Bootstrap? A .btn-group Correct answer B .button-group C .group-btn D .button-container MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which JavaScript library does Bootstrap depend on for its components? A jQuery Correct answer B React C Angular D Vue.js MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap What is the purpose of the .container class in Bootstrap? A To center-align content B To create a responsive grid container Correct answer C To apply a border around elements D None of the above MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which class is used to create a responsive navigation bar in Bootstrap? A .navbar Correct answer B .nav C .navigation D .navbar-responsive MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which grid system does Bootstrap use? A Flexbox Correct answer B CSS Grid C Floats D None of the above MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap What is the latest version of Bootstrap as of 2024? A 3.x B 4.x C 5.x Correct answer D 6.x MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap Which CSS preprocessor does Bootstrap use? A Sass Correct answer B Less C Stylus D None MCQSEXAM Show answer Read explanation
Computer Science MCQs · Bootstrap What is Bootstrap? A A programming language B A front-end framework Correct answer C A server-side scripting language D A database management system MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What is the purpose of Django's distinct() method? A It removes duplicate rows from query results Correct answer B It retrieves related objects after the main query is executed C It performs additional filtering on query results D It orders query results in ascending or descending order MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which of the following is NOT true about Django's update() method? A It updates multiple objects in the database efficiently B It can only be used with integer fields Correct answer C It returns the number of rows affected by the update operation D It can accept keyword arguments to specify the fields and their new values MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What does the delete() method do in Django models? A Updates the existing object in the database B Deletes the object from the database Correct answer C Inserts a new object into the database D Performs a raw SQL query MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which of the following is NOT true about Django's get_or_create method? A It retrieves an object from the database or creates it if it doesn't exist B It returns a tuple of (object, created), where created is a boolean value C It raises a MultipleObjectsReturned exception if multiple objects are foun D It can only be used with integer fields Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What does the save() method do in Django models? A Updates the existing object in the database B Deletes the object from the database C Inserts a new object into the database Correct answer D Performs a raw SQL query MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which Django command is used to create a new Django project? A django create B django startproject Correct answer C python startproject D python create MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What is the purpose of Django's values method? A To return a list of dictionaries containing specific field values Correct answer B To execute a raw SQL query C To retrieve related objects after the main query is executed D To perform aggregation functions on querysets MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which of the following is NOT true about Django's distinct method? A It removes duplicate rows from query results B It can be used with the annotate method C It is only available for PostgreSQL databases Correct answer D It can improve query performance MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What does the extra method do in Django's queryset API? A Adds extra SQL clauses to the query Correct answer B Retrieves related objects after the main query is executed C Performs additional filtering on query results D Orders query results in ascending or descending order MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which of the following is NOT a valid field option in Django models? A default B choices C related_model Correct answer D verbose_name MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django What is the purpose of Django's bulk_update method? A To create multiple objects in a single database query B To update multiple objects in the database efficiently Correct answer C To perform a bulk delete operation using raw SQL D To retrieve related objects after the main query is executed MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django In Django, what does the select_for_update method do? A Retrieves related objects after the main query is executed B Locks selected rows in the database to prevent concurrent updates Correct answer C Performs a raw SQL query D Filters query results based on a condition MCQSEXAM Show answer Read explanation
Computer Science MCQs · Django Which of the following is NOT a valid database transaction isolation level in Django? A READ COMMITTED B READ UNCOMMITTED C REPEATABLE READ D SERIALIZABLE READ Correct answer MCQSEXAM Show answer Read explanation