Coder Social home page Coder Social logo

fundamentals_of_computing's Introduction

FOC

Questions

  1. Write and execute C program to read two matrix and perform addition of two matrix. Display the result in matrix format.

  2. Write and execute C program to read an array of ‘n’ elements and compute sum of all elements in an array using pointers and display the result.

  3. Write and execute C program to read numbers using keyboard and find area of triangle, square, circle and rectangle using switch statement and display result.

  4. Write and execute C program to read an array of elements and a key element and search for a key element in an array using binary search and display the position of search element if key is found or unsuccessful search if key element is not found.

  5. Write and execute C program to read an array of elements and sort the elements in ascending order using bubble sort and display the result.

  6. Write and execute C program to perform a desired arithmetic operation using switch statement. Declare choice as char data type and check whether the divisor is zero, if divisor is zero print “Divide by Zero error”.

  7. Write and execute C program to determine whether a character entered by user is alphabet, digit, punctuation or whitespace using simple if statement.

  8. Write and execute C program to read strings from keyboard and compare two strings without using built-in functions.

  9. Write and execute C program to read strings from keyboard and concatenate two strings without using string built-in functions and display the concatenated string.

  10. Write and execute C program to read a number and find the factorial of a number using function with argument and with return value.

  11. Write and execute C program to print n numbers of the fibonacci series

  12. Write and execute C program to read two numbers from keyboard and find GCD and LCM of two numbers, using functions and display the result.

  13. Write and execute a C program to read marks from keyboard and find grade of a student based on marks range using else-if ladder.

    Marks       Grade
    90-100      S
    75 - 90     A
    60-74       B
    50-59       C
    40-49       D
    0-39        F
    
  14. Write and execute C program to find whether given number is positive, negative or zero using conditional operator.

  15. Write and execute C program to read three numbers using keyboard and find biggest of three numbers using conditional operator and display the result.

  16. Write and execute C program to read an array of ‘n’ elements and key element and search a key element in an array using linear search and display whether a search is successful or unsuccessful.

  17. Write and execute C program to read two matrix and perform multiplication of two matrix. Display the result in matrix format.

  18. Write and execute C program to find whether a given number is palindrome or not.

  19. Write and execute C program to read numbers using keyboard and find the roots of a quadratic equation using else-if statement and display result.

  20. Write and execute C program to read an array of elements and sort the elements in ascending order using selection sort and display the result.

  21. Write and execute C program to demonstrate following string built-in functions strcmp(), strcat(),strcpy(),strstr(). Note: Read the strings from keyboard.

  22. Write and execute C program to read a string from keyboard and find length of string without using built-in functions.

  23. Write and execute C program to read a string from keyboard and check if it's palindrome or not without using built-in functions.

  24. Write and execute C program to define a structure student which contain student name, roll number, marks of 3 subjects (Maths, Chemistry, Physics) as members of structure and read the input for three students and display the same using array of structures

  25. Write and execute C program to read ‘n’ natural numbers and find the sum of odd and even numbers using for loop and display the result.

  26. Write and execute C program to read two numbers using keyboard and swap two numbers using pointers and display the result.

  27. Write and execute a C program to read a matrix to find trace and norm of a given matrix and display the result in matrix format.

  28. Write and execute C program to read a matrix from keyboard and find the transpose of the matrix and display the result in matrix format.

fundamentals_of_computing's People

Contributors

jugal13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.