#P20. [Sleeping Cup #2] Are you ready for it?

[Sleeping Cup #2] Are you ready for it?

Person in Charge

Attention

This problem set contains 3\bm 3 major sections with 10\bm{10} sub-questions, each worth 10\bm{10} points (total 100\bm{100} points).

For multiple-choice questions:

  • Full correct answer: 1010 points;
  • Partial correct answer: 55 points;
  • Any incorrect selection: 00 points.

I. Single-Choice Questions (5 questions)

  1. Which Linux command shows hidden files?

{{ select(1) }}

  • ls -a
  • ls -d
  • ls -c
  • ls -w
  1. What is the C++ compiler in Linux systems?

{{ select(2) }}

  • C++
  • gdb
  • gcc
  • g++
  1. In Vim editor, how to jump to line 1212?

{{ select(3) }}

  • 12
  • :12
  • to 12
  • 12:
  1. Which G++ option specifies the output filename?

{{ select(4) }}

  • -g
  • -o
  • -c
  • -lm
  1. Default Shell in NOI Linux is?

{{ select(5) }}

  • Python
  • C++
  • Bash
  • Java

II. Multiple-Choice Questions (2 questions)

  1. If having problem understanding a question during Sleeping Cup contest, contestants may:

{{ multiselect(6) }}

  • Raise hand for help
  • Ask in contest announcement board under problem list
  • Join Sleeping Cup QQ group for consultation
  • Publicly post questions
  1. A complete computer system should include:

{{ multiselect(7) }}

  • Hardware system
  • Software system
  • CPU
  • Operating system

III. Fill-in-the-Blank Questions (3 questions)

  1. Hexadecimal 0xAB in binary is ________.

  2. If contestant's answer filename has wrong capitalization, they will get ________ points.

  3. The problem author is ________.

Answer Area:

  1. {{ input(8) }}

  2. {{ input(9) }}

  3. {{ input(10) }}

Official Solution

link