Computer Science

Study Material For BSc(CS) students.

  • Home
  • B.Sc.(CS)
    • F.Y.B.Sc(CS)
      • Problem Solving using Computer and ‘C’ Programming
    • S.Y.B.Sc(CS)
      • Data Structures and Algorithms I
        • Notes
        • Lab Assignments
      • Data Structures and Algorithms II
        • Notes
        • Lab Assignments
    • T.Y.B.Sc(CS)
      • Operating System I
        • Notes
        • Lab Assignments
      • Operating System II
        • Notes
        • Lab Assignments
  • M.Sc.(CA)
    • F.Y.M.Sc(CA)
      • Operating System
        • Notes
    • S.Y.M.ScCA)
      • Python Programming
        • Notes
        • Lab Assignments
  • Downloads
    • Syllabus
    • MCQs
  • Practice Tests
    • OS

Problem Solving using Computer and ‘C’ Programming I- LAB

 Problem Solving using Computer and ‘C’ Programming I- LAB

  • Slip 1
  • Slip 2
  • Slip 3
  • Slip 4
  • Slip 5
  • Slip 6
  • Slip 7
  • Slip 8

----------------------------------------------->SLIP 9<------------------------------------------------
Q 1) A i. Write a C program to interchange two numbers and display the interchanged numbers.[5 marks]
OR

ii. Write a function to reverse an integer. Use this in main. [10 marks]

Q 1) A Write a C program to accept n integers in an array and count the frequency of each element of an array. [15 marks]
----------------------------------------------->SLIP 10<----------------------------------------------

Q 1) A i. Write a C program to check whether a given number is even or odd.[5 marks]
OR

ii.Write a C program to accept n integers in an array and display the array in reverse order[10 marks]

Q 1) A Write a C function to check if a number is prime. Use this function to display all prime numbers between 100 and 500 [15 marks].

----------------------------------------------->SLIP 11<----------------------------------------------

Q 1) A i.Write a C program to find whether a given year is a leap year or not. [5 marks]

ii.Write a C program to accept an integer and display its sum of digits. [10 marks]
OR
Q 1) A Write a C program to accept a matrix of size m x n and display transpose of a given matrix. [15 marks]

----------------------------------------------->SLIP 12<----------------------------------------------

Q 1) A i. Write a C program to read the age of a candidate and determine whether the candidate is eligible for casting his/her own vote. [5 marks]

ii. Write a C program to check if a number is perfect (number = sum of its factors) [10 marks]
OR
Q 1) A Write a program to accept real number x and integer n and calculate the sum of first n terms of the series x+ x/3!+ x/5!+ x/7!+…         [15 marks]

----------------------------------------------->SLIP 13<----------------------------------------------

Q 1) A i. Write a program to which accepts a character from the user and display its ASCII value. Also display its next and previous integer. [5 marks]

ii. Write a program to display multiplication tables of n having 10 multiples. [10 marks]
OR
Q 1) A Accept two numbers and perform the following operations till the user selects Exit. [15 marks]
i. Maximum
ii. Display all numbers between the two
iii. Sum and average
iv. EXIT

----------------------------------------------->SLIP 14<----------------------------------------------

Q 1) A i. Accept a number and check if it is positive, negative or zero. [5 marks]

ii. Write C program to accept a single digit number and display it in words. [10 marks]
For example, Input = 9 Output = Nine                        
OR
Q 1) A Write a ‘C’ program to copy one matrix to another. Display the copied matrix. [15 marks]

----------------------------------------------->SLIP 15<----------------------------------------------

Q 1) A i. Write a C program to perform all arithmetic operations on two integers. [5 marks]

ii. Write a program to calculate the factorial of a number using function. [10 marks]
OR
Q 1) A Write a C program to accept two matrices of size m x n and calculate Addition of Matrices. [15 marks]

----------------------------------------------->SLIP 16<----------------------------------------------

Q 1) A i.Write a C program to find the area and perimeter of rectangle. [5 marks]

ii.Write a program to display n lines of the following pattern. [10 marks]
1
2 3
4 5 6
OR
Q 1) A Write a ‘C’ program to find the transpose of a mXn matrix. [15 marks]

----------------------------------------------->SLIP 17<----------------------------------------------

Q 1) A i. Write a program to accept a number and check number is positive or negative. [10 marks]

OR

Q 1) A Write a ‘C’ program to calculate occurrences of a number in an array of n integers. [15 marks]

----------------------------------------------->SLIP 18<----------------------------------------------

Q 1) A i. Accept dimensions of a cylinder and print the surface area and volume. [5 marks]
( surface area = 2π r2 + 2π r h, volume = π r2 h)

ii. Write a C program to Accept two integers x and y and calculate the sum of all integers between x and y. [10 marks]

OR

Q 1) A Write a C program to accept two matrices of size m x n and find multiplication of Matrices. [15 marks]

----------------------------------------------->SLIP 19<----------------------------------------------

Q 1) A i. Write a C program to accept two integers and perform all arithmetic operations. [5 marks]

ii. Write a program to check if a character is an alphabet, digit or a special symbol. If it is an alphabet, check if it is uppercase or lowercase. [10 marks]

OR

Q 1) A Write a program to multiply two matrices. Write separate functions to accept, display and multiply the matrices. [15 marks]

----------------------------------------------->SLIP 20<----------------------------------------------

Q 1) A i. Write a C program to accept radius of circle and calculate area and circumference. [5 marks]

ii. Write a function, which accepts a character and integer n as parameter and displays the next n characters. [10 marks]
OR

Q 1) A Write a C program to accept n integers and sort them. Display the sorted elements.

0 Comments:

Post a Comment

Home
Subscribe to: Comments (Atom)
  • Popular
  • Tags
  • Blog Archives

Followers

ABOUT

Rahul Sonawane
Nashik, Maharashtra, India
Qualification: M.Tech (IMCA), NET, SET
View my complete profile

Popular Posts

  • Python Programming Laboratory
      Savitribai Phule Pune University,  M.Sc. (Computer Application) (Semester-III) Practical Examination Solved Slips. M.Sc. (Computer Applica...
  • OS-(I) Assignment 4: Demand Paging and Page Replacement Algorithms
    NEW. Set A. (1) Write the simulation program to implement demand paging and show the page scheduling and...
Powered by Blogger.

Wikipedia

Search results

Blog Archive

  • March (1)
  • January (1)
  • January (5)
  • June (13)
  • April (3)
  • March (2)
  • February (1)
  • November (1)
  • October (3)

 
  • Contact form

    Name

    Email *

    Message *

    Total Pageviews

  • Pages

    • CA - CCTP-5 Operating Systems
    • Operating System II (LABORATORY COURSE)
    • Operating System I (LABORATORY COURSE)
    • DS Lab I Assignments
    • DS Lab II Assignments
    • F.Y.BSc.(CS) (2019 PAT)
    • S.Y.B.Sc.(CS) (2019 PAT)
    • DS I Theory Notes
    • DS II Theory Notes
  • About

    • What is computersciencestudyhub?
    computersciencestudyhub is a Programming languages site, with tutorials and references on Programming languages such as C, C++ and Data Structure covering most aspects of Programming languages.
    • Easy Learning computersciencestudyhub focused on simplicity.
    • computersciencestudyhub uses simple code explanations with simple illustrations of how to use it.
    • computersciencestudyhub tutorials start from the basic level and move all the way up to professional references.
    • computersciencestudyhub is Free

Copyright © Computer Science | Powered by Blogger
Design by NewWpThemes | Blogger Theme by Lasantha - Premium Blogger Themes | Virtual Private Server