Logo/

C Programming Flashcards

Log in

Made with ScholarlyMake flashcards like these from your own notes

C Programming Flashcards

Questions and answers

15 cards
  1. Question:What is a programming language?

    Answer:A set of rules, conventions, and instructions for writing software programs.

  2. Question:What is a compiler?

    Answer:A software that translates the code written in some high-level programming language (like C) into machine language (the language that can be understood by the computer).

  3. Question:What is a variable?

    Answer:A named memory location that stores a value of a specific type.

  4. Question:What is a function?

    Answer:A set of instructions that performs a specific task or a group of tasks.

  5. Question:What is an array?

    Answer:An ordered collection of elements of the same type.

  6. Question:What is a loop?

    Answer:A repeating set of instructions.

  7. Question:What is a conditional statement?

    Answer:A statement that performs different actions depending on whether a condition is true or false.

  8. Question:What is a pointer?

    Answer:A variable that stores the memory address of another variable.

  9. Question:What is an algorithm?

    Answer:A set of well-defined instructions for solving a problem or a task.

  10. Question:What is recursion?

    Answer:A technique in which a function calls itself to solve a subproblem.

  11. Question:What is a data structure?

    Answer:A way of organizing and storing data in a computer program.

  12. Question:What is dynamic memory allocation?

    Answer:A way of allocating memory dynamically during program execution.

  13. Question:What is a linked list?

    Answer:A data structure in which each element contains a reference (i.e., a link) to the next element in the sequence.

  14. Question:What is a stack?

    Answer:A data structure in which elements are inserted and removed from only one end.

  15. Question:What is a queue?

    Answer:A data structure in which elements are inserted at one end and removed from the other end.