Summer Code Camp - Lesson 1

Summer Code Camp - Lesson 1

University

10 Qs

quiz-placeholder

Similar activities

Git

Git

University

15 Qs

Got Git?

Got Git?

University

15 Qs

Git & GitHub

Git & GitHub

University

10 Qs

PYTHON DAY 2

PYTHON DAY 2

University

12 Qs

Java

Java

9th Grade - University

11 Qs

PreTest DFC20113 - Programming Fundamentals

PreTest DFC20113 - Programming Fundamentals

University

15 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Summer Code Camp - Lesson 1

Summer Code Camp - Lesson 1

Assessment

Quiz

Computers

University

Hard

Created by

Tran Toan

Used 2+ times

FREE Resource

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);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?