Tag: New South Wales
-
jQuery MCQ (Multiple Choice Questions)
Q 1. Which of the following sign is used as a shortcut for jQuery? A. the % sign B. the $ sign C. the & sign D. the @ sign Show Answer Answer:-B. the $ sign Explanation Every jQuery selector start with this dollar sign $(). This sign is known as the factory function. It…
-
C++ Programming MCQ – Namespaces
C++ questions and puzzles focuses on “Namespaces”. One shall practice these questions and puzzles to improve their C++ programming skills needed for various interviews , entrance exams and other competitive exams. These programming puzzles can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an…
-
C++ Programming Questions and Answers – Character Classification
C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Character Classification”. Q 1. Which function is used to check whether a character is an alphabet?A. isblank()B. isalnum()C. isdigit()D. isalpha() Show Answer Answer:-D. isalpha() Explanation Character classification provides isalpha() function to check whether a character in C++ is an alphabet or not. Q 2. Which…
-
C++ Programming Questions and Answers – Argument Passing
C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++ programming questions come with detailed explanation of the answers which helps in better understanding of C++ concepts. C++ programming questions on “Argument Passing” along with answers, explanations and/or solutions: Q 1. How many ways of passing a…
-
C++ Programming Questions and Answers – Statements
C++ interview questions and answers focuses on “Statements”. One shall practice these interview questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), 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,…
-
C++ Programming Questions and Answers – Pointers into Arrays
Q 1. What is the meaning of the following declaration? int(*p[5])(); A. p is pointer to functionB. p is array of pointer to functionC. p is pointer to such function which return type is the arrayD. p is pointer to array of function Show Answer Answer:-B. p is array of pointer to function Explanation In…
-
C++ Programming MCQ – Arrays
Q 1. Which of the following correctly declares an array?A. int array; B. int array[10];C. array{10};D. array array[10]; Show Answer Answer:-B. int array[10]; Explanation Because array variable and values need to be declared after the datatype only. Q2. What is the index number of the last element of an array with 9 elements?A. 8B. 9C.…
-
C++ Programming Quizs Question and Answers – Booleans
C++ language interview questions and answers focuses on “Booleans”. One shall practice these interview questions to improve their C++ programming skills needed for various interviews competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++…
-
Mean, Median, Mode Quizs Question
Q 1. Mean marks of 150 students were found to be 50.Later it was found that a score of 87 was misread as 78.What is the correct mean?A. 50.09B. 59C. 49.9D. None of these Show Answer Answer:-A. 50.09 Q 2. What is the range of the following data? Class 40-45 45-50 50-55 55-60 60-65 65-70 Frequency 4…
-
Python Quizs Question and Answers – Advanced Formatting Tools
Q 1. The formatting method {1:<10} represents the ___________ positional argument, _________ justified in a 10 character wide field.A. first, rightB. second, leftC. first, leftD. second, right Show Answer Answer:-B. second, left Explanation The formatting method {1:>> ‘%s’ %((1.23,),). Q 10. What will be the output of the following two codes? i. ‘{0}’.format(4.56) ii. ‘{0}’.format([4.56,])…