Computer Science vs Programming
10 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary difference between computer science and computer programming?

  • Computer science focuses on a holistic understanding of interconnected computers and large-scale systems, while programming is the act of communicating instructions to computing devices. (correct)
  • Computer science emphasizes industry and scientific discovery, while programming is a basic skill for everyday life.
  • Computer science is limited to individual coding languages like Python, Java, or HTML, while programming encompasses all aspects of modern computers.
  • Computer science is exclusively concerned with hardware, while programming is the execution or implementation stage of software development.

Which area offers a broader and holistic understanding of interconnected computers and large-scale systems?

  • Hardware development
  • Programming languages like Python, Java, or HTML
  • Computer science (correct)
  • Scientific discovery

What is the act of communicating instructions to different levels of computing devices known as?

  • Software implementation
  • Hardware development
  • Computer science
  • Programming (correct)

Which field is considered a basic skill for everyday life as well as at the heart of industry and scientific discovery?

<p>Computer programming (A)</p> Signup and view all the answers

In which stage do programming tasks occur according to the text?

<p>Execution or implementation stage (B)</p> Signup and view all the answers

Quelle est la principale raison d'écrire des fonctions en programmation C++?

<p>Pour faciliter les tests de chaque fonction (C)</p> Signup and view all the answers

Quel est le rôle de l'identificateur dans une fonction en C++?

<p>Nommer la fonction (A)</p> Signup and view all the answers

Pourquoi est-il préférable d'écrire des fonctions plutôt que d'avoir une fonction main() très longue?

<p>Pour faciliter la réutilisation du code (D)</p> Signup and view all the answers

Quel est l'effet d'appeler une fonction en C++?

<p>Exécuter le corps de la fonction puis reprendre juste après l'appel de la fonction (D)</p> Signup and view all the answers

Quelle est l'utilité principale des fonctions en programmation?

<p>Faciliter l'organisation et la maintenance du code (C)</p> Signup and view all the answers
Use Quizgecko on...
Browser
Browser