.
  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 » SAPLAB Placement Papers » SAPLAB Previous Year Placement Paper

 

SAPLAB Placement Paper -: Data Structures and Algorithms Questions With Answers


Advertisements
Advertisements




SAPLAB Previous Years Solved Sample Placement Papers

  1. String is given Myprog one two three. Where Myprog is an exe file. What will the output of the following program?

    
    main(argc, argv) {
      printf("%c", ++**argv);
    }
            

    Options:

    A. m

    B. n

    C. none

    D. myprogram

  2. In 1.5 fixed format, how is -1 represented?

    A. 0xFFFF Answer: Option A

    B. 0xF000

    C. 0x8000

    D. 0x0001

  3. #define Sqr(b) b*b;

    
    main() {
      int i = 3;
      printf("%d", SQR(i + 2));
    }
            

    Ans: 11

  4. 
    main() {
      char c = 'a';
      printf("%d %d", sizeof(c), sizeof('a'));
    }
            

    Options:

    A. 1 1

    B. 2 2

    C. 2 1

    D. 1 4 Answer: Option D

  5. Question related to the ICMP:

    Ans: d (check out)

  6. Question related to ARP (which machine will respond for the request of ARP)?

  7. If an integer needs two bytes of storage, then the maximum value of an unsigned integer is:

    A. 2^16-1 Answer: Option A

    B. 2^15-1

    C. 2^16

    D. 2^15

  8. If an integer needs two bytes of storage, then the maximum value of a signed integer is:

    A. 2^16-1

    B. 2^15-1 Answer: Option B

    C. 2^16

    D. 2^15

  9. What is the output of printf("%d", printf("tim"));

    A. results in a syntax error

    B. outputs tim3 Answer: Option B

    C. outputs garbage

    D. prints tim and terminates abruptly

  10. Length of string “correct” is:

    A. 7

    B. 8 Answer: Option B

    C. 6

    D. implementation dependent




 


.

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