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

 

Synopsis Placement Paper -: Technical Questions With Answers


Advertisements
Advertisements




Synopsis Previous Years Solved Sample Placement Papers

  1. In the following program, how would you print 50 using p?

    main()
    {
        int a[]={10, 20, 30, 40, 50};
        char *p;
        p = (char*) a;
    }

    Ans: printf("\n%d", *((int*)p + 4));

  2. Would the following program compile?

    main()
    {
        int a=10, *j;
        void *k;
        j = k = &a;
        j++;
        k++;
        printf("\n%u%u", j, k);
    }

    A. Yes

    B. No, the format is incorrect

    C. No, the arithmetic operation is not permitted on void pointers Answer: Option C

    D. No, the arithmetic operation is not permitted on pointers

  3. According to ANSI specifications, which is the correct way of declaring main() when it receives command line arguments?

    A. main(int argc, char *argv[]) Answer: Option A

    B. main(argc, argv) int argc; char *argv[];

    C. main() {int argc; char *argv[]; }

    D. None of the above

  4. What error would the following function give on compilation?

    f(int a, int b)
    {
        int a;
        a = 20;
        return a;
    }

    A. missing parenthesis in the return statement

    B. The function should be declared as int f(int a, int b)

    C. redeclaration of a Answer: Option C

    D. None of the above

  5. Point out the error in the following program:

    main()
    {
        const char *fun();
        *fun() = 'A';
    }
    const char *fun()
    {
        return "Hello";
    }

    Ans: fun() returns to a "const char" pointer which cannot be modified.

  6. Which of the following is an infix expression?

    a) (a+b)*(c+d)

    b) ab+c*

    c) +ab

    d) abc+*

    Answer: a

    Explanation: (a+b)*(c+d) is an infix expression. +ab is a prefix expression and ab+c* is a postfix expression.

  7. What is the time complexity of an infix to postfix conversion algorithm?

    a) O(N log N)

    b) O(N)

    c) O(NĀ²)

    d) O(M log N)

    Answer: b

    Explanation: The time complexity of an infix to postfix expression conversion algorithm is mathematically found to be O(N).

  8. What is the postfix expression for the corresponding infix expression?

    a+b*c+(d*e)

    a) abc*+de*+

    b) abc+*de*+

    c) a+bc*de+*

    d) abc*+(de)*+

    Answer: a

    Explanation: Using the infix to postfix expression conversion algorithm, the corresponding postfix expression is found to be abc*+de*+.

  9. Parentheses are simply ignored in the conversion of infix to postfix expression.

    a) True

    b) False

    Answer: b

    Explanation: When a parenthesis is encountered, it is placed on the operator stack. When the corresponding parenthesis is encountered, the stack is popped until the other parenthesis is reached and they are discarded.

  10. It is easier for a computer to process a postfix expression than an infix expression.

    a) True

    b) False

    Answer: a

    Explanation: Computers can easily process a postfix expression because a postfix expression keeps track of precedence of operators.

  11. What is the postfix expression for the infix expression?

    a-b-c

    a) -ab-c

    b) ab ā€“ c ā€“

    c) ā€“ -abc

    d) -ab-c

    Answer: b

    Explanation: The corresponding postfix expression for the given infix expression is found to be ab-c- and not abc- -.

  12. Select the antonym of capture from the following

    A. attack

    B. Release Answer: Option B

    C. condemn

    D. None of the above

  13. Find the antonym of autumn

    A. Spring Answer: Option A

    B. Winter

    C. Summer

    D. None of the above

  14. One skirt requires 3.75 yards of cloth. How many skirts you can make from 45 yards?

    Ans: 12 skirts

  15. How can you make a square from two triangles?

    Solution: By joining the hypotenuses of two right-angled triangles.

  16. Is the meaning of Client and Customer,

    A. same Answer: Option A

    B. contradictory

    C. no relation




 


.

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