Question

Computer Science B Semester Exam answers

Answers

Answered by GPT 3.5
1. What is computer science?

Computer science is the study of algorithms, data structures, and computations which includes programming languages, software development, artificial intelligence, and more.

2. What is a program?

A program is a set of instructions that a computer follows to perform a specific task or function.

3. What is a programming language?

A programming language is a formal language used to write instructions that can be translated into machine code for execution by a computer.

4. What is an algorithm?

An algorithm is a step-by-step procedure or formula for solving a problem or accomplishing a task.

5. What is object-oriented programming?

Object-oriented programming is a programming paradigm based on the concept of "objects", which can contain data in the form of attributes and code in the form of methods.

6. What is a variable?

A variable is a storage location in a computer's memory that can hold a value, which can be changed or manipulated during the execution of a program.

7. What is a loop in programming?

A loop is a programming construct that repeats a set of instructions a specified number of times or until a certain condition is met.

8. What is recursion in programming?

Recursion is a programming technique in which a function calls itself in order to solve a problem by breaking it down into smaller subproblems.

9. What is a data structure?

A data structure is a way of organizing and storing data in a computer's memory in a manner that allows for efficient access and manipulation.

10. What is an API?

An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other.

Related Questions