Category: Programming
-

SQL MCQ Questions and Answers 4
Q 61. A subquery in an SQL SELECT statement is enclosed in: A. brackets — […]. B. parenthesis — (…). C. CAPITAL LETTERS. D. braces — {…}. Show Answer Answer:-B. parenthesis — (…). Explanation In SQL, a subquery is enclosed in parentheses, as shown in Option A. Subqueries are used to retrieve data from one…
-

C++ Programming Questions and Answers – Increment and Decrement
C++ programming questions and answers focuses on “Increment and Decrement”. One shall practice these questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews, entrance exams and other competitive exams. C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++…
-

SQL MCQ Questions and Answers
Q 1. What is the full form of SQL? A. Structured Query List B. Structured Query Language C. Simple Query Language D. None of these Show Answer Answer:-B. Structured Query Language Explanation SQL (Structured Query Language) is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS). Originally based…
-
C++ Programming Questions and Answers – String – 1
Q 1.What will be the output of the following C++ code? #include #include using namespace std;int main(int argc, char const *argv[]){char str[] = “Hello World”;cout< A. H B. e C. o D. Error Show Answer Answer:-A. H Explanation The program has no errors so and as str = “Hello World” and we are trying to…
-

C++ Programming Questions and Answers – Function Call
C++ quiz focuses on “Function Call”. One shall practice these quizzes to improve their C++ programming skills needed for various interviews (campus interviews, walk in interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering…
-

CSS Questions & Answers – Advanced Selectors
CSS Multiple Choice Questions & Answers focuses on “Advanced Selectors”. Q 1. Which of the following selector selects all elements of E that have the attribute attr that end with the given value?A. E[attr^=value]B. E[attr*=value]C. E[attr$=value]D. none of the mentioned Show Answer Answer:-C. E[attr$=value] Explanation Example: p[title$=”!”] {color: red;} Q 2. Which of the following…
-

CSS Questions & Answers – Specificity and Importance
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Specificity and Importance”. Find the specificity of the statments using the rule given below.A selector’s specificity is calculated as follows:1) count 1 if the declaration is from is a ‘style’ attribute rather than a rule with a selector, 0 otherwise (= a) (In HTML, values of…
-

Python Questions and Answers – Lists – 7
Python Code Output Questions Python Multiple Choice Questions & Answers (MCQs) focuses on “Lists-7”. Q 1.What will be the output of the following Python code? a=[“Apple”,”Ball”,”Cobra”] a.sort(key=len) print(a) A. Invalid syntax for sort() B. [‘Ball’, ‘Apple’, ‘Cobra’] C.[‘Apple’, ‘Ball’, ‘Cobra’] D.[‘Cobra’, ‘Apple’, ‘Ball’] Show Answer Answer:-B.[‘Ball’, ‘Apple’, ‘Cobra’] Explanation The syntax isn’t invalid and the…


