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

 

Mascot Placement Paper -: Aptitude & Computer Knowledge Questions With Answers


Advertisements
Advertisements




Mascot Previous Years Solved Sample Placement Papers

  1. What are the different types of real data type in C?

    A. float, double

    B. short int, double, long int

    C. float, double, long double

    D. double, long int, float

    Ans: C
  2. Which statement will you add in the following program to work it correctly?

    #include<stdio.h>
    int main()
    {
        printf("%f\n",  lof(36.0));
        return 0;
    }
        

    A. #include<conio.h>

    B. #include<math.h>

    C. #include<stdlib.h>

    D. #include<dos.h>

    Ans: B
  3. What do the following declaration signify?

    int *ptr[30];

    A. ptr is a pointer to an array of 30 integer pointers.

    B. ptr is an array of 30 pointers to integers.

    C. ptr is an array of 30 integer pointers.

    D. ptr is an array 30 pointers.

    Ans: B
  4. What is x in the following program?

    #include<stdio.h>
    int main()
    {
        typedef char (*(*arrfptr[3])())[10];
        arrfptr x;
        return 0;
    }
        

    A. x is a pointer

    B. x is an array of three pointers

    C. x is an array of three function pointers

  5. You want to find out the value of the last element of an array. You write the following code. What will happen when you compile and run it?

    public class MyAr{
        public static void main(String argv[]){
            int[] i = new int[5];
            System.out.println(i[5]);
        }
    }
        

    1) An error at compile time

    2) An error at run time

    3) The value 0 will be output

    4) The string "null" will be output.

  6. Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

  7. Write a program to remove duplicates from a sorted array.

  8. In C, if you pass an array as an argument to a function, what actually gets passed?

    A. Value of elements in array

    B. First element of the array

    C. Base address of the array

    D. Address of the last element of array

    Ans: C
  9. What will be the output of the program?

    A. 2, 3, 4, 5

    B. 1, 2, 3, 4

    C. 0, 1, 2, 3

    D. 3, 2, 1, 0

    Ans: B
  10. What will be the output of the program if the array begins 1200 in memory?

    A. 1200, 1202, 1204

    B. 1200, 1200, 1200

    C. 1200, 1204, 1208

    D. 1200, 1202, 1200

    Ans: B




 


.

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-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy