DELHI PUBLIC SCHOOL, BAREILLY XI- Computer Science (Worksheet-III) 1. WAP that checks whether the given character is alphanumeric or a digit (use library functions) 2. WAP that checks whether the given character is an alphabet or not. If it is an alphabet, whether it is a lowercase character or uppercase character. 3. WAP that converts lowercase letters in a given string to corresponding uppercase letters, and vice versa. 4. WAP that reads a string and converts it to uppercase. 5. WAP that reads 2 strings and appends the first string to the second. 6. WAP that reads a password and prints “OK” if the correct password is entered otherwise print “SORRY!”. The user should be given 3 chances to guess the password. 7. WAP to obtain a Random Number between 0-100 and let the user to guess it. Provide 3 chances to guess the number with proper messages. 8. Write a UDF named square ( ) which accepts a number as an argument and returns the square of the passed argument. 9. Write a UDF named cube ( ) which accepts a number as an argument and returns the cube of the passed argument. 10. Write a UDF named calculate ( ) which accepts 2 numbers & an arithmetic operator (+, - , *, /) as an argument and returns the result of calculation based on operator passed. 11. Write a UDF named fact ( ) which takes a number as an argument and returns the factorial of the passed number. 12. Write a UDF named power ( ) which takes 2 numbers as an argument and returns a double value. 13. Write a UDF named SumOfDigits ( ) which accepts a number as an argument and returns the sum of digits of that number. 14. Write a UDF named ValidDate ( ) which accepts a date as an argument and returns a value 1 or 0 depending on status of date. 15. WAP to accept percentage of 10 students in an Array and Find the class average. 16. WAP to accept 10 numbers in an Array and Find the Greatest number. 17. WAP to accept 10 numbers in an Array and Find the Lowest number. 18. WAP to accept 10 numbers in an Array and calculate the square of each number. 19. WAP to accept 10 numbers in an Array and calculate the sum of Even numbers & Odd numbers. 20. WAP to accept marks in 5 subjects of a student and calculate Percentage and Grade. 21. WAP to accept a line of string and calculate its length without using a library function. 22. WAP to accept a line of string and count the number of vowels in it. 23. WAP to accept a line of string and display its reverse. 24. WAP to accept a string and check it is a Palindrome or not. 25. WAP to accept a line of string and convert it into Proper Case. 26. WAP to accept marks of 3 students in 5 subjects and calculate Total, Percentage and Grade. 27. WAP to accept sales of 5 salesman in 3 products. Now calculate each salesman‟s total Sales and each product sales also. 28. WAP to accept a 3x3 matrix & display the sum of Rows. 29. WAP to accept a 3x3 matrix & display the sum of Columns. 30. WAP to accept a 3x3 matrix & display the sum of Diagonals. 31. WAP to accept a 3x3 matrix & display its Transpose. 32. Write a UDF named Transfer ( ) which should transfer the contents from one array named All [] to 2 different arrays named Odd [] & Even []. The Odd [] array should contain the values from odd positions and The Even [] array should contain the values from Even positions of the array. 33. WAP to define a structure which can store a student record (like rollno, name, class & marks in 5 subjects ). It should also calculate Total, Percentage and grade. 34. WAP to define a structure named „employee‟ having details like empID, name, basic salary, HRA, DA, & Net Salary. (Here, HRA=12% of basic salary, DA=44% of basic salary, Net Salary= basic salary + HRA+ DA ). Test it by accepting details of 5 employees. 35. WAP to define a structure to represent „Time‟. Now define a UDF named AddTime ( ) which should accept 2 arguments of „Time‟ type and return the addition of both Time‟s.

## XI CS- WORKSHEET 3.pdf

WAP to accept a 3x3 matrix & display the sum of Rows. 29. WAP to accept a 3x3 matrix & display the sum of Columns. 30. WAP to accept a 3x3 matrix & display ...

#### Recommend Documents

Worksheet FBD Worksheet Blank.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Worksheet FBD ...

XI annibale carracci.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. XI annibale carracci.pdf. XI annibale carracci.pdf. Open. Extract.

Student Worksheet
Provide a possible explanation for why hybrids are rare and not as fit as either parent species. AUTHOR. Written by Ann Brokaw, Rocky River High School, Ohio.

Xi-5yearsFailure_Report_2017_Digital.pdf
the importance of âstabilityâ was emphasized, described by the International Campaign for Tibet as. âpolitical language for the elimination of dissent and enforcement of compliance to Chinese Communist. Party policiesâ26. A Human Rights Watch

XI JORNADAS_PROGRAMA.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. XI ...

7 6 XI
receive a credit card number against which the toll can be charged. Similarly, remote ... schemes are employed to permit communications free of collisions.

Video Worksheet
... easy appeal to you? What are some of your favorites? 9. Geography â Are your choices of food related to where you live? 10. Healthy Lifestyle â Do you eat enough healthy foods? Do you read nutrition labels? Â©Learning ZoneXpress â¢ www.learn

Introduction to C++ Lab (CS 54) - CS SYLLABI
If you have a documented disability and anticipate needing accommodations in ... request that the Disability Support Services staff send a letter to the instructor ...

CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical ...
CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical Institution.com.pdf. CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical Institution.com.

CS 50 Walkthrough 6
create nodes for them. â put these nodes ... store each leâºer i of the word in that node. â¢ fgetc(dptr) is that ... put a pointer to your node that you just malloced there.

Ð Ð - CS, Technion
Some people attribute such capability to ... approach to solve this problem is to pre-program the agent with a domain-specific decision procedure. ... The work presented in this paper takes the pattern-based move-oriented approach similarly.

CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical ...
Complication), Abortion/Miscarriage. Pap Smear (Last pap? ... CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical Institution.com.pdf. CS Blue sheet ...

CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical ...
CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical Institution.com.pdf. CS Blue sheet Mnemonics - USMLE Step 2 CS - www.medical Institution.com.

CS AMRUT PARAKH / 9423040074 ... - CS Amrut K. Parakh
Application for allotment of Director Identification Number ... Application for incorporation of a company ... registered office of the company within the state.

PERCEPTUAL CoMPUTINg - CS UTEP
âPerceptual Computing Programs (PCP)â and âIJA Demo.â In the PCP folder, the reader will find separate folders for Chapters 2â10. Each of these folders is.

CS 50 Walkthrough 5
Data structures, hexadecimal, and pointers. â¢ Programs: â whodunit. â resize. â recover ... Image recovery! ... Go through each block in the disk image and: 1.

CS 50 Walkthrough 5
Image recovery - Steps. â¢ Steps: Go through each block in the disk image and: 1. If we find a JPEG signature, start wriÃ»ng the bytes out to another file. 2. If we find a new JPEG signature, close that old file and go back to 2. 3. If we find the E

electric XI ok.pdf
Whoops! There was a problem loading this page. Whoops! There was a problem loading this page. electric XI ok.pdf. electric XI ok.pdf. Open. Extract. Open with.

Worksheet-Playlist.pdf
Describe the accomplishment and opportunities unlocked. DIGITAL XP RESOURCE LOCAL XP. KEY. Start sketching your ... Page 1 of 1. Worksheet-Playlist.pdf.

Capitalization Worksheet - 2
Example: Doesn't your sister go to california institute of technology? 1. Brandon is ... My best friend studies judaism at hebrew school. 26. christians follow the ...

CS 245 - GitHub
Feb 13, 2014 - 3. If U contains more than one symbol and it does not start with '(', then return false. 3 .... A faster way to evaluate a propositional formula is by using valuation trees and "expressions". Example 2.1. .... not call them steps. 1.

CS 50 Walkthrough 5
A bitmap is a series of consecuÃ»ve pixels described after each other. â¢ Also has âmetadataâ in first 54 bytes consisÃ»ng of two headers.

CS 246 - GitHub
Dec 13, 2013 - 2 The Linux Shell. 1 ..... There are two kinds of interfaces; graphical .... grep -E "cs246|CS246" index.html or grep -E "(cs|CS)246" index.html.