QuizSpace

Computational Thinking (CT) week 8 important questions

Week 8 of Computational Thinking: Adjacency matrix, edge-labelled graphs. Extra important questions based on the recent, changing patterns of the exams, from basic to advanced. Practise them in learning mode: each question has a worked solution.

Question 1

Numerical answer

The figure shows an undirected graph. Its adjacency matrix (rows and columns in the order A, B, C, D, E) is written down. How many entries of the matrix are equal to 1?

Diagram for this question

Question 2

One correct option

Look at the undirected graph in the figure. Its adjacency matrix (rows and columns in the order A, B, C, D) is written down. What is the sum of the entries in the row of vertex C?

Diagram for this question
  1. A

    22

  2. B

    44

  3. C

    66

  4. D

    33

Question 3

One correct option

An undirected graph is drawn below. Which matrix is the adjacency matrix of this graph (rows and columns in the order A, B, C, D, E)?

Diagram for this question
  1. A

    (0110110100110010000110110)\begin{pmatrix}0&1&1&0&1\\1&0&1&0&0\\1&1&0&0&1\\0&0&0&0&1\\1&0&1&1&0\end{pmatrix}

  2. B

    (0110010100110010000100110)\begin{pmatrix}0&1&1&0&0\\1&0&1&0&0\\1&1&0&0&1\\0&0&0&0&1\\0&0&1&1&0\end{pmatrix}

  3. C

    (0110010110110010100100110)\begin{pmatrix}0&1&1&0&0\\1&0&1&1&0\\1&1&0&0&1\\0&1&0&0&1\\0&0&1&1&0\end{pmatrix}

  4. D

    (0010000100110010000100110)\begin{pmatrix}0&0&1&0&0\\0&0&1&0&0\\1&1&0&0&1\\0&0&0&0&1\\0&0&1&1&0\end{pmatrix}

More questions in this week

Authorise with Google to see every question with its answer and explanation and practise it in learning mode.

IMPPractise OPPE 1 PYQs:PythonSystem CommandsJava