Latest R Systems Placement Test Questions

Similar documents
HCL Aptitude Test a=2, b=3, c=6 Find the value of c/(a+b)-(a+b)/c Ans. 11/30

Sample Question Set For Coding and Debugging

Huawei Test 5. Explanation: P.W. of Rs. 12,880 due 8 months hence=rs. [ (12880*100)/(100+(18*(8/12)))]

Assignment 1 Expressions Data Types Formatted Printing Variables Scanning CSC 123 Fall 2018 Answer Sheet Short Answers

Outline. Lecture 1 C primer What we will cover. If-statements and blocks in Python and C. Operators in Python and C

Honors Introduction to C (COP 3223H) Program 5 Pizza Shack Inventory and Finances

CSCI-243 Exam 1 Review February 22, 2015 Presented by the RIT Computer Science Community

CS24 Week 2 Lecture 1

1. What details should never be found in the top level of a top-down design?

From Java to C. Thanks to Randal E. Bryant and David R. O'Hallaron (Carnegie-Mellon University) for providing the basis for these slides

Additional Questions

Subject: Fundamental of Computer Programming 2068

PPT-2011 Test No 11 FM:- 45. Aptitude

SHARDA UNIVERSITY SCHOOL OF ENGINEERING & TECHNOLOGY Mid Term Examination, (Odd Term, ) SOLUTION

Mid-term Exam. Fall Semester 2017 KAIST EE209 Programming Structures for Electrical Engineering. Name: Student ID:

CS Introduction to Programming Midterm Exam #2 - Prof. Reed Fall 2015

EE 312 Fall 2018 Midterm 1 Version A October 10, 2018

CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE

.. Cal Poly CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar..

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

C Review. MaxMSP Developers Workshop Summer 2009 CNMAT

The output will be: marks all or nothing. 1 #include <stdio.h> 2 main() { 3 int i; int j; 4 int *p; int *q; 6 p = &i; 7 q = &j; 8 i = 1;

Identify skills and personality traits of successful problem solving. Apply standard problem-solving techniques to aid in problem solving.

CS 0449 Sample Midterm

Decision Making -Branching. Class Incharge: S. Sasirekha

Fundamental of Programming (C)

The University of Calgary. ENCM 339 Programming Fundamentals Fall 2016

Chapter 21: Introduction to C Programming Language

Variables Data types Variable I/O. C introduction. Variables. Variables 1 / 14

P6 Maths SA Paper 2 Word Problems Raffles. Word Problem Worksheet & Solutions Raffles Paper P6 Mathematics SA2 2017

Mid-term Exam. Fall Semester 2017 KAIST EE209 Programming Structures for Electrical Engineering. Name: Student ID:

A3-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH 'C' LANGUAGE

Fundamentals of Programming Session 15

Tutorial 1: Introduction to C Computer Architecture and Systems Programming ( )

Warmup January 9th, What is the value of the following C expression? 8*9 % 10/ 2

CSCI 350: Getting Started with C Written by: Stephen Tsung-Han Sher June 12, 2016

Macros and Preprocessor. CGS 3460, Lecture 39 Apr 17, 2006 Hen-I Yang

Sample Paper on GSAT with Solutions: -

Procedures, Parameters, Values and Variables. Steven R. Bagley

Lecture 02 C FUNDAMENTALS

AMCAT Automata Coding Sample Questions And Answers

Connexions module: m Linear Equations. Rupinder Sekhon

ET156 Introduction to C Programming

Chapter 6. Data Structure. /* start contains the address of the first node */ start = &elephant1; print_elephants( start ); return EXIT_SUCCESS;

Advanced Pointer Topics

CS 261 Fall C Introduction. Variables, Memory Model, Pointers, and Debugging. Mike Lam, Professor

Renault Nissan Placement Paper Part-1

iv) iv) b) What pattern do you see in your answers to part a? c) Use your pattern to predict the decimal form of each fraction. i)

Section 2.2 Your First Program in Java: Printing a Line of Text

C Multiple Choice Questions and answers MCQ with Ans.

Prepared by: Shraddha Modi

Huawei Placement Paper Questions

COMP 2001/2401 Test #1 [out of 80 marks]

Full file at

COP 3223 Introduction to Programming with C - Study Union - Fall 2017

EE 312 Fall 2017 Midterm 1 October 12, 2017

Memory Allocation. General Questions

Downloaded from

COP 3223 Introduction to Programming with C - Study Union - Fall 2017

QUIZ. What are 3 differences between C and C++ const variables?

CSCI 2212: Intermediate Programming Introduction to C++ Classes

DEPARTMENT OF MATHS, MJ COLLEGE

COMP322 - Introduction to C++ Lecture 02 - Basics of C++

Knowledge Organiser - E3

The University of Nottingham

ECE 15B COMPUTER ORGANIZATION

Technical Questions. Q 1) What are the key features in C programming language?

Data types, variables, constants

Section 2.2 Your First Program in Java: Printing a Line of Text

Previous Year Nagarro Questions

Heap Arrays. Steven R. Bagley

CS 31: Intro to Systems Pointers and Memory. Martin Gagne Swarthmore College February 16, 2016

C Introduction. Comparison w/ Java, Memory Model, and Pointers

ESC101N: Fundamentals of Computing End-sem st semester

Programming in C++: Assignment Week 1

Basic C Programming (2) Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

STACKS 3.1 INTRODUCTION 3.2 DEFINITION

Unit 4 Preprocessor Directives

ACT Diagnostic Review #1

MATHEMATICS (SYLLABUS D) 4024/02

Int 1 Checklist (Unit 1) Int 1 Checklist (Unit 1) Whole Numbers

Assignment 5 Files, Linked Lists, and Binary Search Trees

Week 1 Questions Question Options Answer & Explanation A. 10 B. 20 C. 21 D. 11. A. 97 B. 98 C. 99 D. a

5) Attacker causes damage Different to gaining control. For example, the attacker might quit after gaining control.

CS 31: Intro to Systems Pointers and Memory. Kevin Webb Swarthmore College October 2, 2018

3 The L oop Control Structure

Pointers, Dynamic Data, and Reference Types

Essential Questions. Key Terms. Algebra. Arithmetic Sequence

DC104 DATA STRUCTURE JUNE Q.2 a. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Week 7 Part I. Kyle Dewey. Monday, August 6, 12

C Primer Plus 5/e 1.1 C

Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9

XSEDE Scholars Program Introduction to C Programming. John Lockman III June 7 th, 2012

Presented By : Gaurav Juneja

Texas Instruments Technical Questions and Answers

Solution for Data Structure

Computer Programming. C Array is a collection of data belongings to the same data type. data_type array_name[array_size];

Princeton University COS 333: Advanced Programming Techniques A Subset of C90

UNIT - V STRUCTURES AND UNIONS

COMP 2355 Introduction to Systems Programming

Transcription:

APTITUDE: Q1. At a special sale, 5 tickets can be purchased for the price of 3 tickets. If 5 tickets are purchased at the sale, the amount saved will be what percent of the original price of the 5 tickets? a) 20% b) 33.3% c) 40% d) 60% e) 66.6% ANS: c) 40% Q2. A sink has 12 lits of water some quantity of water is taken out. If the remaining water is 6 litres less then the water taken out then quantity of water taken out is: a) 3 b) 6 c) 9 d) 1 Q3. In a straight highway 2 cars starts from the same point in opposite directions each travels for 8 Kms and take left turn then travel for 6 Kms what is the distance between them now? a) 16 b) 20 c) 25 d) 10

Q4. If taxi fares were Rs 1.00 for the first 1/5 mile and Rs 0.20 for each 1/5 miles thereafter. The taxi fare for a 3-mile ride was a) Rs 1.56 b) Rs 2.40 c) RS 3.00 d) Rs 3.80 e) Rs 4.20 ANS: d) Rs 3.80 Q5. A 5 litre jug contains 4 litres of a salt water solution that is 15 percent salt. If 1.5 litres of the solution spills out of the jug, and the jug is then filled to capacity with water, approximately what percent of the resulting solution in the jug is salt? a) 7.5% b) 9.5% c) 10.5% d) 12% e) 15% ANS: a) 7.5% Q6. A millionaire bought a job lot of hats 1/4 of which were brown. The millionaire sold 2/3 of the hats including 4/5 of the brown hats. What fraction of the unsold hats were brown? a) 1/60 b) 1/15 c) 3/20

d) 3/5 e) 3/4 Latest R Systems Placement Test Questions ANS: c) 3/20 Q7. An investor purchased a shares of stock at a certain price. If the stock increased in price Rs 0.25 per share and the total increase for the x shares was Rs 12.50, how many shares of stock had been purchased? a) 25 b) 50 c) 75 d) 100 e) 125 ANS: b) 50 Q8. Working independently, Tina can do a certain job in 12 hours. Working independently, Ann can do the same job in 9 hours. If Tina Works independently at the job for 8 hours and then Ann works independently, how many hours will it take Ann to complete the remainder of the jobs? a) 2/3 b) 3/4 c) 1 d) 2 e) 3 ANS: e) 3

Q9. What is the 4 digit number whose second digit is thrice the first digit and 3rd digit is sum of 1st and 2nd and last digit is twice the second digit? a) 2674 b) 1349 c) 3343 d) 3678 Q10. How many of the integers between 25 and 45 are even? a) 21 b) 20 c) 11 d) 10 e) 9 ANS: d) 10 Q11. A merchant sells an item at a 20 percent discount. But still makes a gross profit of 20 percent of the cost. What percent of cost would be gross profit on the item have been if it had been sold without the discount? a) 20% b) 40% c) 50% d) 60% e) 66.6% ANS: c) 50%

Q12. How many integers n greater than and less than 100 are there such that, if the digits of n are reversed, the resulting integer is n+9? a) 5 b) 6 c) 7 d) 8 e) 9 ANS: d) 8 Q13. A decorator bought a bolt of the m number of red chips in any one stack? a) 7 b) 6 c) 5 d) 4 e) 3 ANS: c) 5 TECHNICAL: Q14. What is the output of the following program? struct Foo char *pname; ; struct Foo *obj = malloc(sizeof(struct Foo));

strcpy(obj->pname,your Name); printf(%s, obj->pname); a) Your Name b) compile error c) Name d) Runtime error Q15. What is the output of the following program? char *a = Hello ; char *b = World; printf(%s, stract(a,b)); a) Hello b) Hello World c) HelloWorld d) None of the above Q16. Print the value of i? void int i = 1* 4/3-27% 3^ 2 + 100 * 0.5 (4 > 3? 1: 2); clrscr(); printf(%d, i);

getch(); Latest R Systems Placement Test Questions Q17. What is the output of the following program? void int a=2,b=3,c,d; clrscr(); c=a++ ++b; d=++a&&b++; printf(%d %d, c,d); getch(); Q18. What is the output of the following program? void func1(int (*a)[10]) printf(ok it works); void func2(int a[][10]) printf(will this work?); int a[10][10]; func1(a); func2(a);

Latest R Systems Placement Test Questions a) Ok it works b) Will this work? c) Ok it works Will this work? d) None of the above Q19. What is the output of the following program? const int perplexed = 2; #define perplexed 3 #ifdef perplexed #undef perplexed #define perplexed 4 #endif printf(%d, perplexed); a) 0 b) 2 c) 4 d) none of the above Q20. What is the output of the following program? struct Foo char *pname; char *paddress; ;

struct Foo *obj = malloc(sizeof(struct Foo)); obj->pname = malloc(100); obj->paddress = malloc(100); strcpy(obj->pname,your Name); strcpy(obj->paddress, Your Address); free(obj); printf(%s, obj->pname); printf(%s, obj->paddress); a) Your Name, Your Address b) Your Address, Your Address c) Your Name, Your Name d) None of the above Q21. What is the output of the following program if base address of array a is 65584? void int a[5]=2, 1, 4, 7, 8; clrscr(); printf(%u %u, a+1, &a+1); getch(); Q22. What is the output of the following program?

char *a = Hello ; char *b = World; printf(%s, strcpy(a,b)); a) Hello b) Hello World c) HelloWorld d) None of the above Q23. Write the output of program: void int a[5]=2,1; clrscr(); printf(%d %d %d, a[3], a[4], a[2]); getch(); Q24. What is the output of the following program? printf(%d, %d, sizeof(c), sizeof(100)); a) 2, 2 b) 2, 100

c) 4, 100 d) 4, 4 Latest R Systems Placement Test Questions Q25. What is the output of the following program? void int a=2, b=3; clrscr(); for(i=1; i<3; i++) printf(%d, a); continue; printf(%d, b); break; getch();