logo

Crowdly

Browser

Add to Chrome

LENGUAJE DE PROGRAMACION

Looking for LENGUAJE DE PROGRAMACION test answers and solutions? Browse our comprehensive collection of verified answers for LENGUAJE DE PROGRAMACION at online.upr.edu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

What is the result of the following lines of code in Python 

def my_function(x): 

     x=[4,5]

def main(): 

    x=[1,2,3]

    my_function(x)

    print(x) 

main()

0%
0%
0%
100%
View this question

The stack is always reserved in a FIFO order

0%
100%
View this question

The heap is memory set aside for static allocation

0%
100%
View this question

Dynamic scope allows the compiler to perform optimizations based on its knowledge of the variable.

0%
100%
View this question

Which of the following languages is NOT strong typed 

0%
0%
0%
100%
View this question

What is the result of executing the following lines of code in C

int main()

{

    char *q = NULL;

    *q="Hello World";

    printf(*q);

    return 0;

}

0%
0%
0%
100%
View this question

Consider the following two lines of code in Python 

w1 = "hello"

w2 = "hello" 

What happens if we try to access memory allocation of both variables?

0%
0%
100%
0%
View this question
Segments in memory are swapped between the disc and main memory as needed.
100%
0%
View this question

Which is the output of the following operation in Scheme: 

 ( cons \,\, '(1 \,\,2) \,\, '(3 \,\,4) ) ( cons \,\, '(1 \,\,2) \,\, '(3 \,\,4) )    

0%
0%
0%
0%
View this question

Which is the output of the following operation in Scheme

(map  +   ' (1  2)  '( 3  4)   ' (5  6)  ) 

100%
0%
0%
0%
View this question

Want instant access to all verified answers on online.upr.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome