logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1395400 total)

What does the following code print?

#include <stdio.h>

#include <string.h>

void f(char* string)

{

const size_t size = strlen(string);

if (size >= 8) string[7] = '\0';

if (size >= 5) string[4] = 'a';

puts(string);

}

int main(void)

{

f("How qre you?");

return 0;

}

0%
0%
100%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
Переглянути це питання

This task is related to the snort lab activity and the detection of EternalBlue using eternalblue-success-unpatched-win7.pcap.

A) Briefly describe how you installed the rules from https://asecuritysite.com/forensics/snort and how you ran snort (no more than 2-3 sentences)

B) Describe the detection outcome in one sentence. Copy the first 3 lines of relevant snort events into the answer. This must be no more than 10 lines. Answers with irrelevant or excessive snort output (> 10 lines) will receive 0 marks for this part.

Переглянути це питання

Sia uno spazio vettoriale di dimensione e siano . Una delle seguenti affermazioni è corretta:

0%
0%
0%
Переглянути це питання

Prendendo quattro vettori in essi saranno linearmente dipendenti?

Переглянути це питання

What is the correct way to define a type funct to point to a function taking a pointer to an int

an returning a pointer to an int?

0%
0%
0%
0%
0%
0%
0%
Переглянути це питання
Переглянути це питання
Переглянути це питання

We want to write a generic function that can add all the elements of an array (of unknown type, e.g. real numbers, complex numbers, vectors, matrices, ...) and get the result of the sum (of unknown type), either as a return value or passed by reference (then returning some error code).

What are the possible prototypes for such a function?

Penalty for wrong ticks.

100%
0%
100%
0%
100%
100%
0%
0%
Переглянути це питання
Порівняльна ефективність - :
0%
0%
0%
Переглянути це питання

Select all the correct statements about a void* variable.

Penalty for wrong ticks.

0%
0%
0%
0%
0%
0%
0%
0%
0%
Переглянути це питання