F

PreeminentTourmaline avatar
PreeminentTourmaline
·
·
Download

Start Quiz

Study Flashcards

5 Questions

Which of the following is a correct statement about the given text?

Questions 2 to 5 carry equal marks.

What is the correct pseudocode to check if a number is positive or negative?

if (num >= 0) print 'Positive'; else print 'Negative';

Which of the following statements about arrays is true?

Arrays can only store elements of the same data type.

What is the difference between getchar and gets?

getchar reads a single character, while gets reads a string including spaces.

What is the correct pseudocode to find the addition of the first 20 numbers and print it?

sum = 0; for (i=1; i<=20; i++) sum += i; print sum;

Test your problem-solving skills and 'C' programming knowledge with this quiz for F.Y. B.Sc. Computer Science students. The quiz includes questions on problem solving using computer and 'C' programming, following the 2019 pattern and CBCS guidelines.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser