Tag: daily knowledge

  • C++ Programming Questions and Answers – String – 1

    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…

  • Artificial Intelligence MCQ Questions & Answer Part 4

    Artificial Intelligence MCQ Questions & Answer Part 4

    Q 31. Ambiguity may be caused by: A. syntactic ambiguity B. multiple word meanings C. unclear antecedents D. All of the above Show Answer Answer:-D. All of the above Q 32. Which company offers the LISP machine considered to be “the most powerful symbolic processor available”? A. LMI B. Symbolics C. Xerox D. Texas Instruments…

  • Artificial Intelligence MCQ Questions & Answer Part 2

    Artificial Intelligence MCQ Questions & Answer Part 2

    Q 11. Seymour Papert of the MIT AI lab created a programming environment for children called: A. BASIC B. LOGO C. MYCIN D. None of the above Show Answer Answer:-B. LOGO Explanation Seymour Papert, a researcher at the MIT AI Lab, created a programming environment for children called LOGO. LOGO is a programming language specifically…

  • C++ Programming Questions and Answers – Function Call

    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 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 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…

  • CSS Questions & Answers – Applying Style to a Document

    CSS Questions & Answers – Applying Style to a Document

    CSS Interview Questions and Answers for freshers focuses on “Applying Style to a Document”. Q 1. Which of the following is the correct way to applying style to a document?A. Use an external style sheet, either by importing it or by linking to itB. Directly embed a document-wide style in the head element of the…

  • Current Affairs Quiz – November, 2024

    Current Affairs Quiz – November, 2024

    Q 1.Which state government has launched the Elevate 2024 scheme for early stage startups? A. KarnatakaB. RajasthanC. MaharashtraD. Jharkhand Show Answer Answer:-A. Karnataka Explanation Karnataka launched ELEVATE 2024 and Karnataka Acceleration Network (KAN) to support start-ups. ELEVATE 2024 is a grant scheme offering up to ₹50 lakh per start-up to help early-stage companies with seed…

  • Python Questions and Answers – Lists – 7

    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…

  • Python Questions and Answers – Lists – 6

    Python Questions and Answers – Lists – 6

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Lists-6”. Python Multiple Choice Questions & Answers (MCQs) focuses on “Lists-6”. Q 1. What will be the output of the following Python code? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b) A. [10,34,56,[78]] B. [10,23,56,[95]] C. [10,23,56,[78]] D. [10,34,56,[95]] Show Answer Answer:-B. [10,23,56,[95]] Explanation The above copy is a…

You cannot copy content of this page