ADITA Exam MCQs | Youth Computer Advance Diploma Practice Questions Set-2

Prepare for your Advanced Diploma in Information Technology Application (ADITA) exam with these comprehensive multiple-choice questions.

Database Management Web Technologies VB Programming Flowchart & Algorithms Internet Concepts C, C++, Java System Analysis

Recommended by IT educators for state-level advance diploma certifications

« First .. 2 3 4 .. Last »
« Previous Page Next Page »

21. What is the datatype of a variable in VBScript?

  • a) String
  • b) Variant
  • c) It is the datatype specified when that variable is declared.
  • d) None of the above
Answer: B - VBScript uses Variant as the only data type, which can contain any type of data including numbers, strings, dates, etc.

22. In the Select Case statement, which case is used for unknown cases?

  • a) Else
  • b) Default
  • c) Unknown
  • d) Not
Answer: A - In VBScript's Select Case structure, the "Case Else" branch handles all values not matched by other case statements.

23. What is the scope of a constant declared using Public in VBScript?

  • a) The Public constants are available for all the scripts and procedures.
  • b) The Public Constants are available within the procedure or Class.
  • c) Both of the above
  • d) None of the above.
Answer: A - Public constants in VBScript have global scope and are accessible from all scripts and procedures within the application.

24. A static function_____

  • a) should be called when an object is destroyed
  • b) is closely connected with an individual object of a class
  • c) can be called using the class name and function
  • d) is used when a dummy object must be created
Answer: C - Static functions belong to the class itself rather than individual objects and can be called without creating an instance.

25. The library function exit() causes an exit from ?

  • a) The loop in which it occurs
  • b) The block in which it occurs
  • c) The function in which it occurs
  • d) The program in which it occurs
Answer: D - The exit() function terminates the entire program execution and returns control to the operating system.

26. What is true about a Constructor ?

  • a) Its name is plural of class name.
  • b) Its name has * symbol before it.
  • c) Its name is same as of class name.
  • d) Its name has # symbol before it.
Answer: C - Constructors are special methods with the same name as their class, used to initialize objects when they are created.

27. Which of the following function declaration is/are incorrect?

  • a) int Sum(int a, int b = 2, int c = 3);
  • b) int Sum(int a = 5, int b);
  • c) int Sum(int a = 0, int b, int c = 3);
  • d) All are correct.
Answer: D - In C++ function declarations, default parameters must come after all non-default parameters, so options b and c are incorrect.

28. When a derived class inherits from many base classes, this process is known as ?

  • a) multiple inheritance
  • b) multilevel inheritance
  • c) default inheritance
  • d) multiplex inheritance
Answer: A - Multiple inheritance allows a class to inherit features from more than one parent class simultaneously.

29. A base class will offer_____

  • a) offer more specific objects than its derived classes
  • b) correspond to something in the rest world
  • c) behave badly when the chops are down
  • d) be a generalized version of its derived classes
Answer: D - Base classes provide general characteristics and behaviors that derived classes can specialize through inheritance.

30. What is the purpose of a return statement in a function?

  • a) Returns the value and continues executing rest of the statements, if any
  • b) Returns the value and stops the program
  • c) Returns the value and stops executing the function
  • d) Stops executing the function and returns the value
Answer: D - The return statement immediately terminates function execution and sends a value back to the calling code.

31. What is the use of "this" keyword in javascript?

  • a) It refers to current object
  • b) It is a variable which contains value
  • c) It refers to previous object
  • d) None of the above
Answer: A - In JavaScript, "this" refers to the object that is currently executing the code or the object the method belongs to.

32. What is the correct JavaScript syntax to write "Hello World"?

  • a) System.out.println("Hello World")
  • b) println ("Hello World")
  • c) document.write("Hello World")
  • d) response.write("Hello World")
Answer: C - document.write() is the standard JavaScript method for writing content directly to the HTML document.

33. Which are the standard prefixes for the Button and Combo box controls respectively?

  • a) btn and chb
  • b) bto and chb
  • c) bto and cbo
  • d) btn and cbo
Answer: D - Standard naming conventions use "btn" for buttons and "cbo" for combo boxes in Visual Studio and other IDEs.

34. The CancelButton property belongs to which object?

  • a) Button
  • b) Form
  • c) Label
  • d) TextBox
Answer: B - The CancelButton property is set at the Form level to specify which button responds to the Escape key.

35. Which type of project can a developer choose in the New Project dialog box?

  • a) Visual Basic Projects
  • b) Visual C# Projects
  • c) Visual C++ Projects
  • d) All of the above.
Answer: D - Visual Studio's New Project dialog offers templates for various programming languages including VB, C#, and C++.

36. Which are the standard prefixes for the text box and label controls respectively?

  • a) tex and lbl
  • b) tex and lab
  • c) txb and lbl
  • d) txb and lab
Answer: C - Standard Hungarian notation uses "txb" for text boxes and "lbl" for labels in Windows Forms programming.

37. Visual Studio .NET provides which feature:_____

  • a) debugging.
  • b) application deployment.
  • c) syntax checking.
  • d) All of the above.
Answer: D - Visual Studio .NET is a comprehensive IDE offering debugging, deployment, syntax checking, and many other development tools.

38. Which of the following is true about string value assignment in VBScript?

  • a) The string values should be assigned without double quotes.
  • b) The string values should be enclosed within double quotes (").
  • c) The string values should be enclosed within hash symbol (#).
  • d) None of the above.
Answer: B - String literals in VBScript must be enclosed in double quotes, just like in most programming languages.

39. Which statement is true for VBScript names e.g. variable names or procedure names?

  • a) They are case sensitive.
  • b) They are case insensitive.
  • c) They are case insensitive but should be written consistently for readability.
  • d) Only variable names are case insensitive.
Answer: C - VBScript is case-insensitive but maintaining consistent casing improves code readability and maintainability.

40. Which of the following is used to create a constant in VBScript?

  • a) constant
  • b) const
  • c) final
  • d) None of the above.
Answer: B - The "Const" keyword is used to declare constants in VBScript, similar to other programming languages.
« First .. 2 3 4 .. Last »
« Previous Page Next Page »

ADITA MCQs for Youth Computer Exam - Master Advanced IT Concepts & Programming | PCBooks

🚀 Ace Your Youth Computer Advanced Diploma in IT (ADITA) Exams! PCBooks delivers free expert-level MCQs covering programming fundamentals, web & software development, database management, and modern IT frameworks. Ideal for:

💻 Programming & Algorithms MCQs

👉 C Programming – pointers, structures, file handling
👉 C++ Programming – OOP, STL, memory management
👉 Java – core Java, JDBC, multithreading, collections
👉 .NET Framework – C#, ASP.NET, ADO.NET, MVC
👉 Algorithm analysis – time/space complexity (Big-O)
👉 Sorting & Searching – Quick Sort, Merge Sort, Binary Search
👉 Data Structures – stacks, queues, linked lists, trees

🌐 Web Development & Technologies MCQs

🎯 HTML5 – semantic tags, forms, multimedia
🎯 CSS3 – Flexbox, Grid, animations, responsive design
🎯 JavaScript – ES6+, DOM manipulation, event handling
🎯 Frontend Frameworks – React, Angular, Vue basics
🎯 HTTP/HTTPS protocols & web architecture
🎯 Client-Server Model & REST APIs
🎯 Web Security – XSS, CSRF, SQL injection basics

🗃️ Advanced Database & Backend MCQs

👉 SQL & NoSQL Databases – MySQL, MongoDB
👉 Advanced SQL – joins, subqueries, transactions, indexing
👉 Database Normalization & Design
👉 ORM Tools – Entity Framework, Hibernate
👉 Backend Development – Node.js, Express, ASP.NET Core

🛠️ Software Engineering & Development

🔧 Software Development Life Cycle (SDLC)
🔧 Version Control – Git & GitHub
🔧 Testing – unit testing, integration testing
🔧 DevOps Basics – CI/CD, Docker introduction
🔧 Project Documentation & Agile Methodologies

🚀 Boost Your IT Career

Start Certificate in IT (CITA) Practice Now →
Start Diploma in IT (DITA) Practice Now →
Advance to ADITA (Advanced Diploma) MCQs →
C Programming Exercises →
C++ Programming Exercises →
Java Programming Exercises →
HTML5 Exercises →
JavaScript Exercises →

🏆 Recommended by IT educators & industry professionals nationwide for Diploma & Advanced Diploma-level exam success!

🏆 Trusted by 75,000+ students nationwide for Youth Computer Exam preparation!

📈 95% of users report improved scores & interview readiness after practicing with PCBooks materials