C++ Обобщение

Quiz
•
Computers
•
10th Grade
•
Medium
Алена Алена
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для выделения динамической памяти в C++?
new
malloc
allocate
create
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для освобождения памяти, выделенной с помощью new?
free
delete
release
dispose
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Какой из следующих вариантов заголовка функции является правильным для передачи адреса в функцию?
void func(int *ptr)
void func(vector <int> ptr)
void func(int ptr)
Все вышеперечисленное
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих вариантов является правильным способом выделения памяти для одной переменной?
int *ptr = new int;
int ptr = new int;
int *ptr = malloc(sizeof(int));
int ptr = malloc(sizeof(int));
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Именно такое объявление переменной в языке С++ является НЕ правильным
int x;
int x = 0;
x: int;
нет правильного ответа
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В языке С++ строковые литеральные константы представляют собой...
одиночный символ, заключенный в апострофы, например
'w', 'g' или '7'
последовательность символов, заключенную в двойные кавычки, например "Это строка";
последовательность цифр, не начинающуюся с 0, например
23, 2003
нет правильного ответа
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Укажите правильное описание массива...
int a[n];
a int {n};
int a(n);
a [int] n;
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Описание массива

Quiz
•
9th - 10th Grade
14 questions
Массивы

Quiz
•
10th Grade
18 questions
Тест по теме «Аппаратное и программное обеспечение компьютера»

Quiz
•
10th - 11th Grade
11 questions
Персональный компьютер

Quiz
•
10th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
12 questions
СОР_6 класс_раздел 1

Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
10 questions
Тест№1. Подготовка к КР№2 С++

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade