.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Wipro Placement Papers » Wipro Previous Year Placement Paper

 

Wipro Placement Paper -: Data Structures Questions And Answers


Advertisements
Advertisements




Wipro Previous Years Solved Sample Placement Papers

  1. If the purple ball is under cup 4, the orange ball must be under:

    (a) 1

    (b) 2

    (c) 3

    (d) 5

    (e) 6 Answer: Option E

  2. Solution: If the purple ball is under cup 4, the orange ball must be under a higher-numbered cup according to the given conditions. Hence, cup 6 is the correct answer.
  3. Which of the following must be true?

    (a) The green ball is under a lower-numbered cup than the yellow ball.

    (b) The orange ball is under a lower-numbered cup than the green ball.

    (c) The purple ball is under a lower-numbered cup than the red ball.

    Answer: Option C

  4. Solution: From the conditions, the purple ball is always under a lower-numbered cup than the red ball, making Option C correct.
  5. If an integer needs two bytes of storage, the maximum value of an unsigned integer is:

    (a) 216-1

    (b) 215-1

    (c) 216

    (d) 215 Answer: Option A

  6. Solution: For an unsigned integer with two bytes, the maximum value is 216-1 because all bits are used for the magnitude.
  7. If an integer needs two bytes of storage, the maximum value of a signed integer is:

    (a) 216-1

    (b) 215-1

    (c) 216

    (d) 215 Answer: Option B

  8. Solution: For a signed integer, the highest value is 215-1, as one bit is used for the sign.
  9. What is the output of the code `printf("%d", printf("tim"));`?

    (a) Results in a syntax error

    (b) Outputs "tim3"

    (c) Outputs garbage

    (d) Prints "tim" and terminates abruptly Answer: Option B

  10. Solution: The inner `printf("tim")` prints "tim" and returns 3 (the number of characters printed), which is then printed by the outer `printf`.
  11. The length of the string "correct" is:

    (a) 7

    (b) 8

    (c) 6

    (d) Implementation-dependent Answer: Option A

  12. Solution: The string "correct" has 7 characters, including the terminating null character.
  13. Consider the program fragment:
    `char c = 'a'; while (c++ <= 'z') putchar(xxx);`
    If the required output is "abcd...wxyz," then `xxx` should be:

    (a) c

    (b) c++

    (c) c-1

    (d) --c Answer: Option C

  14. Solution: The decrement by 1 (`c-1`) ensures the correct character is printed as `c` is incremented in the loop condition.
  15. Consider the function:
    `find(int x, int y) { return (x < y ? x : y); }`
    The call `find(a, find(a, b))` can be used to find:

    (a) Maximum of a, b

    (b) Positive difference of a, b

    (c) Sum of a, b

    (d) Minimum of a, b Answer: Option D

  16. Solution: The function returns the smaller of two values, and the nested call ensures the smallest of all inputs.
  17. Windows is:

    A. An operating system

    B. An operating environment Answer: Option B

    C. A character user interface

    D. None of these

  18. Solution: Windows initially acted as an operating environment over DOS.
  19. Which of the following is a service not supported by the operating system?

    A. Protection

    B. Accounting

    C. Compilation Answer: Option C

    D. I/O operation

  20. Solution: Compilation is a process handled by compilers, not operating systems.
  21. The processor which performs arithmetical and logical operations is called:

    A. Control

    B. ALU Answer: Option B

    C. Register

    D. Cache memory

  22. Solution: The Arithmetic Logic Unit (ALU) handles mathematical and logical operations.
  23. Metadata enables database designers and users to do all of the following except:

    A. Sample data Answer: Option A

    B. Understand what data exist

    C. Know the fine distinctions between similar data items

    D. Understand what the data mean

  24. Solution: Metadata does not deal with sample data; it describes data structure and attributes.
  25. In a 1:N relationship, the foreign key is placed in:

    A. Either table without specifying parent and child tables

    B. The parent table

    C. The child table Answer: Option C

    D. Either the parent table or the child table

  26. Solution: In 1:N relationships, the foreign key is stored in the child table.
  27. Which of the following conditions should exist if you want to convert a relationship to an associative entity?

    A. Some of the relationships for the participating entities are "many".

    B. The resulting associative entity has an independent meaning Answer: Option B

    C. The resulting associative entity has no attributes.

    D. All of the above

  28. Solution: Associative entities represent meaningful relationships with their own attributes.
  29. Which is not a relevant feature of CASE tools?

    A. The ability to help draw data models using entity-relationship notations

    B. The ability to generate code

    C. An information repository

    D. Access to a DB via the Internet Answer: Option D

  30. Solution: CASE tools do not inherently provide database access via the Internet.
  31. Backward recovery is which of the following?

    A. Where the before-images are applied to the database Answer: Option A

    B. Where the after-images are applied to the database

    C. Where the after-images and before-images are applied to the database

    D. Switching to an existing copy of the database

  32. Solution: Backward recovery involves restoring the database to a previous consistent state using before-images.
  33. Which of the following applies to a class rather than an object?

    A. Query

    B. Update

    C. Scope Answer: Option C

    D. Constructor

  34. Solution: Scope defines the accessibility of a class or its members, not individual objects.
  35. The term "Incomplete" in UML has the same meaning as which of the following for an EER diagram?

    A. Overlapping rule

    B. Disjoint rule

    C. Total specialization rule

    D. Partial specialization rule Answer: Option D

  36. Solution: "Incomplete" in UML corresponds to "Partial specialization" in EER diagrams.
  37. The benefits of object-oriented modeling are which of the following?

    A. The ability to tackle more challenging problems

    B. Reusability of analysis, design, and programming results

    C. Improved communication between users, analysts, etc.

    D. All of the above Answer: Option D

  38. Solution: Object-oriented modeling provides multiple benefits, including reusability, better problem solving, and enhanced communication.




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy