Search Header Logo

Summer Code Camp - Lesson 1

Authored by Tran Toan

Computers

University

Used 2+ times

Summer Code Camp - Lesson 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command initializes a new Git repository?

git new

git create

git init

git start

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

How can you view the commit history in Git?

git status

git log

git history

git commit

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command shows the status of changes in the repository?

git status

git commit

git view

git log

4.

MULTIPLE CHOICE QUESTION

5 sec • 2 pts

Git command help you find a file in your commit file

git grep

git find

git log

git show

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt


How do you supply a commit message to a commit?


git add "My first commit"


git commit -m "I'm coding!"


git commit "My first commit"


git add -m "My first commit"

6.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

In C#, the multi-line comments placed within the ___.

  1. // and //

  1. \\ and //

  1. <!-- and -->

  1. /* and */

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Which is the correct C# statement to convert a float value to int explicitly?

  1. int_variable = (int) float_variable;

  1. int_variable = float_variable;

  1. int_variable = (int) (float_variable);

  1. int_variable = int *float_variable);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers