Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1....

34
Test ENGLISH 1 (Elementary) 1. Complete the text with the phrases in the box. finish work have lunch go to bed have a shower get up I’m a writer and I work at home. I usually (1) _______________ at about ten o’clock in the morning and (2) _______________. I never eat breakfast. I start work at half past ten and I (3) _______________ at 2.00 p.m. In the afternnon I work again and I (4) _______________ at about 8.00 p.m. In the evening I read. I (5) _______________ at 2.00 a.m. 2. Write the time. a) 5.45; b) 8.15; c) 2.00; d) 11.30; e) 13.45 3. Write these numbers. 2- 15- 14- 100- 11- 108- 31- 236- 99- 1000- 4. Put the words in the box the correct group. Brazil chair never always cake cycling fantastic bread Italy armchair Japanese oranges Spanish tennis cereal usually cooker egg sink chips bath China often USA a) food ______________________________________________ b) sports _____________________________________________ c) countries __________________________________________ d) nationalities ________________________________________ e) adverbs __________________________________________ f) furniture __________________________________________ 5. Complete the sentences with the correct form of eat, speak, live, have or work. a) Joanna _________________ with her parents in a big house. b) She _________________ for Microsoft. c) I ________________ French and German. d) I __________________ two brothers. e) Simon doesn’t _____________ meat. 6. Write the negative form of the verb in bold. 1. I drink whisky but I rum. 2. He speaks Japanese but he German. 3. They like Pop but they Rock. 4. She eats Chinese food but she Vietnamese food. 5. You play drums but you guitar. 7. Write the nationalities of these countries. Albania- China- Britain- Brazil- Asia- Switzerland- Egypt- The Neatherlands- Ireland- Wales- 8. Write the words in the correct order to make sentences and questions. a) be / I / on / to / TV/ want

Transcript of Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1....

Page 1: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Test ENGLISH 1 (Elementary)

1. Complete the text with the phrases in the box.

finish work have lunch go to bed have a shower get up

I’m a writer and I work at home. I usually (1) _______________ at about ten o’clock in the morning and (2) _______________. I

never eat breakfast. I start work at half past ten and I

(3) _______________ at 2.00 p.m. In the afternnon I work again and I (4) _______________ at about 8.00 p.m. In the evening I

read. I (5) _______________ at 2.00 a.m.

2. Write the time.

a) 5.45;

b) 8.15;

c) 2.00;

d) 11.30;

e) 13.45

3. Write these numbers.

2- 15-

14- 100-

11- 108-

31- 236-

99- 1000-

4. Put the words in the box the correct group.

Brazil chair never always cake cycling fantastic bread Italy armchair Japanese oranges Spanish tennis

cereal usually cooker egg sink chips bath China often USA

a) food ______________________________________________

b) sports _____________________________________________

c) countries __________________________________________

d) nationalities ________________________________________

e) adverbs __________________________________________

f) furniture __________________________________________

5. Complete the sentences with the correct form of eat, speak, live, have or work.

a) Joanna _________________ with her parents in a big house. b) She _________________ for Microsoft. c) I ________________ French and German.

d) I __________________ two brothers.

e) Simon doesn’t _____________ meat.

6. Write the negative form of the verb in bold.

1. I drink whisky but I rum.

2. He speaks Japanese but he German.

3. They like Pop but they Rock.

4. She eats Chinese food but she Vietnamese food.

5. You play drums but you guitar.

7. Write the nationalities of these countries.

Albania- China-

Britain- Brazil-

Asia- Switzerland-

Egypt- The Neatherlands-

Ireland- Wales-

8. Write the words in the correct order to make sentences and questions.

a) be / I / on / to / TV/ want

Page 2: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

_______________________________________________________________

b) get / want / Jake / to / married / doesn’t

_______________________________________________________________

c) like / children / Would / to / lots / have / you / of ?

_______________________________________________________________

d) to / be / I / like / famous / wouldn’t

_______________________________________________________________

e) do / hope / retire / When / to / you ?

_______________________________________________________________

9. Underline the correct phrase. (50 p )

a) One day I would like to / like to be rich.

b) My mother always does the lottery. She hopes / hopes to win one day!

c) I wouldn’t / wouldn’t like to go on TV. d) Do you want to / would like to learn to speak Chinese?

10. Put the verbs in the right tense.

1. He …………………… (speak) three languages: French, Spanish, and English.

2. Where ………… Hans …………(come) from?

3. What ………… ………… (do) tonight?

4. “Where is George?” “He ………… …………(have) a shower.”

5. “What ……………this word ……………(mean)?” “I don’t know. Look it up.”

6. “Do you want a cigarette?” “No, thanks. I …………………… (not smoke)”

7. Last year I ……………..…… (go) to America.

8. How long ………… you ………… (stay) in America?

9. The weekend was boring. I………… ………… (do)anything.

10. Please be quiet! Eda ………………… (work).

11. Complete the questions with the suitable question word.(Where, when, who, which, what, why, how many) 1. A : …………are you going to eat? B : In the cafeteria.

2. A : ………… is Jim going to get married? B : Next month.

3. A : ………… is he going to marry? B : His colleague.

4. A: ………… are you going to the chemist’s? B: I’m going to the chemist’s to get some medicine.

5. ………… is more difficult German or English?

6. ………… is Nicola going to Liverpool ?

7. …………………… languages do you speak?

8. ……………..…… are doing tonight?

9. …………… are laughing?

10. ………………… did you go last night?

12. Put a preposition into each gap. 1. What does he do …………… weekends?

2. He plays football ………… Friday mornings.

3. Do you relax ………… weekends?

4. Do you go ………… holiday?

5. She gets up early ………… the morning.

6. She gets up early ………… the weekdays.

7. He takes photos only ………… spring.

8. My brother’s birthday is ………… March.

9. The train leaves Paris ………… 4 p.m.

10. Vancouver is very cold………… winter.

13. Complete with a modal verb (can, must, have to,

may, might, should.)

1. _________________ I take a photograph of you?

2. Our teacher says we __________________ study

hard for the exam.

3. Ron _____________________ read when he was

5 years old.

4. You ___________________ enter this building.

5. If you are feeling lonely you

__________________ go out and meet new people.

14.Complete with the comparative or the superlative of the adjectives in brackets. (100 points)

1. We stayed at the _______________ hotel in the town. (nice)

2. Our hotel was ________________ than all the others in the town. (cheap)

3. The United States of America is large but Canada is _____________ . (large)

4. What's ________________ canal in the world? (long)

Page 3: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

5. He looked a bit sad yesterday but he looks ______________ today. (happy)

6. It was a terrible journey. It was _________________ journey of my life. (bad)

7. Ali, can you tell me what ___________________ sport in your country is? (popular)

8. Everest is _________________ mountain in the world. (high)

9. We had a great holiday. It was one of ________________ holidays we've ever had. (enjoyable)

10. I prefer this bed to the other one. It's _________________ . (comfortable)

15. Write 10 sentences about your favourite things.

16. Describe your Best friend.(physical appearance and character).

17. Describe your favourite Holiday destination.

18. Match the verbs to the nouns.

1. ask a. TV

2. listen b. a book

3. live c. A letter

4. work d. To a song

5. read e. At a picture

6. speak f. A question

7. look g. English

8. write h. In town

9. send i. In abank

10. watch j. An email

19. Write the next word.

1. thirty, forty, ___________

2. Sunday, Monday,______________

3. First, Second, __________

4. February, March, __________

5. Summer, Autumn, _____________

20. Choose the correct alternative.

Page 4: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

1. Can I park here?

a. Sorry, I did that.

b. It's the same place.

c. Only for half an hour.

2. What colour will you paint the children's bedroom?

a. I hope it was right.

b. We can't decide.

c. It wasn't very difficult.

21. Choose the correct answers to complete the following short passage.

My name is Hans. I (1)---- a mechanic. I (2)---- in London, I (3)---- a brother and a sister. My sister is a university

student. She (4)---- medicine. She is going to be a doctor. My brother doesn't want (5)---- to university. (6)----he wants

to be a mechanic like me. He comes and (7)---- me in my shop on Sundays. He hasn't finished his education yet. (8)---

- his education, he is thinking of (9)---- with me. We will (10)---- the business together.

1. is are am do

2. believe think arrive live

3. owns learn have study

4. teach learn / studies uses

5. go goes went to go

6. Because Although Behind / During

7. works helps is angry with shouts at

8. For Because After So

9. works worked to work working

10. run depart put wear

22. Read the passages and choose the correct options according to the readings.

One of my favorite vacation places is Mexico. I really like the weather there because it never gets cold. The people are

very nice too. They never laugh at my bad Spanish. The food is really good. Mexico City is a very interesting place to

visit. It has some great museums and lots of fascinating old buildings. The hotels are too expensive to stay but there

are more affordable options. For example, you can stay at one of the beach resorts like Acapulco. If you are planning

to visit Mexico, you should definitely see the Mayan temples near Merida.

1.

a. Sam likes warm weather

2.

a. His Spanish is very good

Page 5: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

b. Sam doesn't like warm weather at all

c. Sam hates warm water

d. Sam likes cold weather

b. He speaks Spanish very well

c. He is Spanish

d. He doesn't speak Spanish very well

3.

a. There's a lot to see and do in Mexico

b. There aren't a lof of beautiful places in Mexico

c. Mexico is a dirty place

d. Tourists never come to Mexico

4.

a. Hotels are very cheap in Mexico

b. The hotels aren't comfortable there

c. Hotels are all poor in Mexico

d. The hotels in Mexico are pretty expensive

23. Fill in the blanks with a, an, the articles. Put x where no article is necessary.

1-2. Tower of London is popular tourist attraction.

3-5. Newcastle is town in north of England.

6-8. Princess lives in palace in London.

9-10. Buckingham Palace is where Queen of England officially lives.

11-12. She bought expensive necklace at Harrods.

24. Adverbs of frequency. Put the adverbs into an appropriate place in the sentence.

a) I am at home in the mornings. (rarely)

b) They go to the movies on Fridays. (often)

c) She listens to classical music. (sometimes)

d) He reads the newspaper. (always)

e) Tom is very friendly person. (usually)

f) They don’t watch TV in the afternoon (often)

25. Describe your favourite film.

Page 6: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Test ENGLISH 2 (Pre-Intermediate)

1. Complete the sentences with Too or Very.

1. I don't like this smell. It's _________ strong for me.

2. The coffee is ____ hot I can't drink it. 3. She is _______ well organized. 4. The bus was _____ crowded. I couldn't get in. 5. The soup is ______ good. Eat it!

2. Complete the sentences with So or Such.

1. It was ___ hot that everybody went to the beach.

2. I like Carmen and Michael. They are _____nice people.

3. It was _____cold weather that nobody could go outside.

4. India is _____a beautiful country. 5 - Petrol is ____ expensive now so I take the bus.

3. Form Adverb of manner from the adjectives.

1. Ben came in very _________ (quiet)

2. She laughs ___________ (happy) at my jokes.

3. They dance Tango _____________ (beautiful)

4. Explain things _________ (clear)

5. Bob swims _________ (fast)

4. Underline the correct adjective .

1. The students are boring / bored.

2. The teacher is interesting / interested.

3.The score is depressing / depressed.

4.The daughter is embarrassing / embarrassed.

5. The dog is annoying / annoyed.

5.Put the verbs in the Past Simple or Past Continuous.

1.What _______(do)when I_________(call) you last night?

2.I _________(sit) in a cafe when you ______(call).

3.When you_______(arrive)at the party, who

_______(be)there?

4.Susie ____________(watch) a film when she ______

(hear) the noise.

5.Yesterday I ________(go) to the library, next I

______(have) a swim, later I _____ (meet) Julie.

6.We ___________ (play) tennis when John ______(hurt)

his ankle.

7.What ______________(they/do) at 10pm last night?

8.He ____________(take) a shower when the telephone

_____(ring).

9.When I _________(walk) into the room, everyone

___________(work).

10. It ______ (be) a day last September. The sun

__________(shine)and the birds __________(sing).

6. Complete the sentences with the correct form of the verbs : -ing form, to- infinitive, or bare infinitive.

1. Do you fancy __________(learn) to ice-skate?

2.We always look forward to ___________(go) on holiday.

3. Josh's parents promised____________ (buy) him a bike for his birthday.

4.Mary pretends ___________(be) ill because she doesn't want to work.

5. Sam suggested ____________(meet) at the station.

6. You never offer ____________(make)dinner.

7.They decided ____________(watch) a film. 8. I don't spend a lot of time ____________(play) computer games.

9. I enjoy _______ (be) with you.

10. John is fond of________ (eat) ice-cream.

7. Describe your fabourite book.

8. Put the adjectives in brackets in the correct form.

1. The ____________(hot) dessert of all is the Shara and it's

9. Complete the sentences with the correct future

form of the verbs in brackets: Be going to or Will.

1) Next summer, I____________(travel) to New

Page 7: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

in Africa.

2. Germany is ______________(far) from home than France.

3. My health is________________(good) now than 5 years

ago.

4. I've got ____________ (little) money ______ you but I

don't mind.

5. Chinese is _________________ (difficult) language in the

world.

6. Valencia played ___________(bad) yesterday _______last

week.

7. Cats are _______________(intelligent) dogs.

8. You must tell me a _______________(good) way, or I'll

never finish.

9. My sister Anne had a ____________(tidy) room ______me.

10. Who is ___________________(talkative) person in class?

York. 2) It's getting cold. I ____________(take) my coat! 3) Are you going to the cinema? Wait for me. I

______________(go) with you! 4) Jane and Tom_______________(not/study) medicine

next year. Jane______________(study) French and Tom

___________(take) a gap year. 5. Mrs Simons, those bags seem quite heavy.

I______________(help) you carry them. 6. Experts say the Earth ________________(suffer)

seriously if we continue polluting. 7. Look at those black clouds. I think it _____________

(rain). 8. Bye Bye Joe. I _____________(phone) you as

soon as I arrive home!

10. Complete the sentences with a relative pronoun: who, which, whose, where.

1. This is the school _______I used to study. 2. This test is for students ______native language is not English. 3. The students _____lost his bag is waiting in the office. 4. The house _______they live needs repairing. 5. Children _______eat a lot of candy often get bad teeth. 6. The girl ______pen you borrowed, needs it now. 7. Go and find the guests ______arrived here yesterday. 8. Look at the horses ______are drinking in the river. 9. The student _____father is sick does not come to school today. 10. I ate all the cake ______you gave me.

11. Circle the sentence which is the closest in meaning with the given sentence.

Adults laugh less than children, probably because they play less.

A) unlike adults children laugh more while playing games.

B) Since adults have less time playing games; they don't laugh as much as children

C) No matter how much adults play, they can't laugh more than children.

D) It seems that adults, who don't laugh much, didn't play much with other children when they were young.

E) The reason why adults laugh less than children might be that they play less.

12.Choose the corrct alternative.

1. I have been living in Madrid ......

A. since ten years.

B. ten years ago.

C. for ten years.

D. ten years.

2. This is the ...... ...... thing I have ever done.

A. harder

B. hardest

C. hard

D. more hard

3. Have you finished with the newspaper ......

A. still?

B. already?

C. now?

D. yet?

Page 8: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

4. If I want to pass my exam, I ...... ...... study harder.

A. will have to

B. would have to

C. had to

D. want to

5. Michael is ...... ...... his sister.

A. not so clever than

B. not as clever than

C. not as clever as

D. not so clever as

13. Is the sentence correct?

1. I have never been in Scotland.

A. False

B. Correct

2. We are going to Brazil in the summer.

A. False

B. Correct

3. It costed me thirty Euros to get the visa.

A. False

B. Correct

4. I can swim when I was five.

A. False

B. Correct

5. What are you doing next weekend?

A. False

B. Correct

14. Continue the story: It all started that fateful Saturday morning when they set out for their camping trip

in the forest.

15. Complete the sentences with the correct preposition.

1. I work a company that makes ice cream machines and sells them in Europe.

2. Your aunt is always complaining that you never write to her. Just a quick letter will make her feel

very happy.

3. Nobody expected her to fall love with the new boss! Now they are getting married!

4. I want you to look very carefully this picture. What do you think about when you see it?

Page 9: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

5. She married a millionaire.

16. Complete the sentences with the correct form of the question tag.

1. John smokes a lot, ?

2. My mother has lovely hair, ?

3. You do like this film we're watching, ?

4. He can't speak English very well, ?

5. Your brother isn't married, ?

6. She doesn't cook very well, ?

7. We can go to the cinema tomorrow if you want, ?

8. They don't have a very nice house, ?

9. She is the richest woman in the town, ?

10. We should leave before it gets dark, ?

17. Choose a word from the table below to fill each space. Some words may be used more than once.

a

a few

any

a little

much

a lot of

some

many

an

a lot

1. How children do you and Tony have?

2. I don't have patience and I find jigsaw puzzles boring.

3. We only have carrots. We should go and buy some more.

4. "Do we need any mushrooms?" "No, we have . Look, three bags!"

5. There was an explosion at the factory and people were injured. We don't know how many

yet.

6. When you make the pie, put wine in too. But not too much! It makes it really tasty.

7. When you go out, buy me apple and a bottle of Coke.

8. I don't need advice from you. You don't understand the problem!

9. "Do you like this programme?" "Not . You can change the channel if you want."

10. Lots of people in Spain like to take siesta during the hottest part of the day.

18. Complete the sentences with the correct form of the verbs (Past Simple or Present perfect)

1. 'This is my house.' 'How long have you lived here?' 'I (live) here since 1997.'

2. He lived in London for two years and then he (go) to Edinburgh.

3. When I left school, I cut my hair and (wear) it short ever since.

4. Shakespeare (write) a lot of plays.

5. My brother (write) several plays. He has just finished his latest.

Page 10: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

6. I (not see) him for three years. I wonder where he is.

7. He (not smoke) for two weeks. He is trying to give it up.

8. Chopin (compose) some of his music in Majorca.

9. 'When (he/arrive)?' 'He arrived at 2 o'clock.'

10. I read his books when I was at school. I (enjoy) them very much.

19. Read the text. Are the statements true (T) or false (F)

In January 1990, I was at elementary school and in January 2000, I was at university! I left

elementary school in September 1990 and went to a high school five kilometres from my house. I got

the bus every day at 7.30 am and didn't get home until 5 o'clock in the evening. What a difficult life!

My family bought a satellite TV in 1991 and a new video the next year. In 1994, my brother bought a

computer and I got a bicycle the next year.

I left my school in 1997 but decided not to go to university like most people: instead, I went walking

in France alone for four months and then drove around America for three months with my brother.

For the first six months of 1998, I got a job in a health food shop and then went to university in

October 1998 in Wales.

1. The speaker went to high school on foot. True False

2. The speaker did not arrive from school before 5 o’clock. True False

3. The speaker bought a computer in 1994. True False

4. The speaker went walking in France for 4 month. True False

5. The speaker worked for six months in a health food shop. True False

20. Write a conversation between the shop assistant and a customer in a clothes’ shop.

21. Complete the following five short conversations with the most appropriate sentences.

Patient: I have had sleep disorder for nearly 3 months.

Doctor: ---------------

Patient: No, I wanted to see a doctor first.

Doctor: You did the right thing. Now I will give you so me pills for that.

A) Have you done anything about it?

B) Why didn't you see a doctor immediately alter this complaint started?

C) Do you know what I should do about it?

D) Did you have this complaint the last time you came to me?

E) Your situation is really serious so you should immediately start getting professional help.

Page 11: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

22. Complete the exercise with the correct adjective from the box. (66 points)

thirsty / bored / tired / embarrassed / happy / frightened

a. I like my job very much. I am very _______________ with my position.

b. I am ________________. Why don’t we have some fruit juice?

c. If you shout at your little dog, he will be ________________ of you.

d. I helped my parents in the garden all morning and now I am very ______________.

e. When the teacher asked me about the lesson I was ____________ because I didn’t know the answer.

f. I was ______________ because there was nothing interesting on TV.

23. Read the text. Are the sentences true (T) or false (F)?

a) Rick was the owner of a café in Casablanca. ___

b) Rick bought two letters. ___

c) Rick didn’t want to sell the letters because he needed them. ___

d) Rick wanted to be with Ilsa. ___

e) As the plane was leaving, Rick escaped with Ilsa. ___

The American Film Institute asked people to vote for the best love story film. Top of the list was Casablanca (1942)

with Humphrey Bogart and Ingrid Bergman. Bogart played Rick Blaine, an American who was living in Casablanca,

in North Africa, during the war. Rick had a café. One day someone in the café gave Rick two letters. The letters were

very important because they could help two people leave Casablanca.

One day Rick’s ex-girlfriend, Ilsa Lund, arrived at the café with her husband. They were in danger, and needed to

leave Casablanca immediately. They wanted to buy the letters from Rick so that they could go to America together.

But Rick was still in love with Ilsa and he didn’t want to sell her the letters. He wanted Ilsa to stay in Casablanca. At

the end of the film Rick chose to help Ilsa and her husband and he gave them the letters. As the plane was leaving

Casablanca, Rick told Ilsa to go with her husband. He did the right thing by helping her and her husband to escape

from Casablanca.

24. Describe your favourite restaurant.

25. Describe a celebration in your country.

Page 12: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Hyrje në Programim / Programim në C++

Përgjigjuni çdo pyetje në mënyrë të qartë dhe koncize. Përgjigjet të jenë të shkurtra dhe të sakta.

1. Gabimi që nuk identifikohet nga kompiluesi (interpretuesi) quhet _______________.

2. Rreshti i kodit i dhënë më poshtë deklaron një string. Sa karaktere i gjatë mund të jetë inputi?

_____________

char inputLine[25];

3. Cili është dallimi ndërmjet kompiluesit dhe interpretuesit?

4. Listoni fazat e zhvillimit të një programi.

5. Cilat janë dallimet në mes gjuhës së makinës dhe gjuhës së nivelit të lartë?

6. Çfarë është një kod burimor?

7. Pse është i nevojshëm një kompilator (interpretues)?

8. Çfarë lloj gabimesh mund të evidentoj kompilatori (interpretuesi)?

9. Pse është e nevojshme për të përkthyer një program të shkruar në një gjuhë të nivelit të lartë në gjuhën e

makinës?

10. Çfarë është linkimi?

11. A janë identifikatorët firstName dhe FirstName të njëjtë?

12. Shpjegoni termat inkrementim dhe dekrementim?

13. Cilat do të jenë vlerat e reja të variablave a, z, n dhe y pas ekzekutimit të kodit të mëposhtëm?

# include <iostream>

int main ()

{

double a = 3.8;

double z;

int n = 2;

int y;

n = (a/n)*2;

y = n + 3;

z = (y+1)/2 + a;

return 0;

}

14. Shkruani një program që llogarit dhe afishon vëllimin e një sfere. (Vëllimi i sferës gjendet nga

34

3V r )

15. Le të jenë variablat num1 dhe num2 të deklaruara si më poshtë:

double num1;

double num2;

Page 13: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Nëse vlerat e variablave num1 dhe num2 janë përkatësisht 3.2 dhe 3.7, shkruani rreshtin e kodit që

afishon diferencën e tyre ekzaktësisht si më poshtë:

3.2 – 3.7 = -0.5

16. Secili nga rreshtat kod të mëposhtëm janë shkruar gabim. Gjeni gabimet dhe korrigjojini ato.

a. cout >> "Pershendetje!";

b. ceil(num_leaves / 2) = height;

c. RETURN 0;

17. Shkruani output-in që gjenerohet nga ekzekutimi i kodit të mëposhtëm.

#include <iostream>

using namespace std;

int main()

{

int x, y, z;

x = 4; y = 5;

z = y + 6;

while(((z - x) % 4) != 0)

{

cout << z << " ";

z = z + 7;

}

cout << endl;

return 0;

}

18. Rrethoni alternativën e saktë:

1. Deklarimet dhe shprehjet për ekzekutim duhet të përfundojnë me pikëpresje.

a. E vërtetë

b. E gabuar

2. Direktiva paraprocesorike fillon me simbolin:

a. *

b. #

c. $

d. !

e. Asnjë prej tyre.

3. Rezultati i marë nga pjesëtimi i një numri të plotë është i rrumbullakuar.

Page 14: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

a. E vërtetë

b. E gabuar

4. 123 është një identifikator në C++.

a. E vërtetë

b. E gabuar

5. Supozojmë se inputi është 5. Output – i i kodit:

cin >> num;

if (num > 5)

cout << num;

num = 0;

else

cout << "Numri është zero" << endl;

është: Numri është zero.

a. E vërtetë

b. E gabuar

6. Në C + +, emrat e parametrave korresponduese formale dhe aktuale të një funksioni duhet të jenë të

njëjtë.

a. E vërtetë

b. E gabuar

Për shprehjet nga #7 tek #9 a1 është e vërtetë (mbart vlerën boolean-e 1) dhe a2 është e gabuar (mbart

vlerën boolean-e 0)

7. a1 && a2

a. 1 (True)

b. 0 (False)

8. !(a1 || a2)

a. 1 (True)

b. 0 (False)

9. !a1 && a2 xx

a. 1 (True)

b. 0 (False) x

10. int b = 2;

11. (b < 2 || b > 2)

a. 1 (True)

Page 15: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

b. 0 (False)

19. Programimi i një problemi real

Supozojmë se po studjohet rreziku i përmbytjeve të një zone të caktuar i shkaktuar nga prurjet e ujit të

lumit që kalon në atë zonë. Thellësia e lumit nuk është konstante për shkak të ndikimit të faktorëve të

ndryshëm, prandaj për arsye studimore matet thellësia e tij në fillim të çdo muaji. Vëzhgimet bëhen nga

Gushti në Prill, periudhë kjo që konsiderohet edhe sezoni me reshje më të dendura kur pritet që të meret

një mesatare prej 15 centimetra reshje në muaj. Ndërsa gjatë sezonit të "thatë" (muajt e tjerë të vitit),

pritet një mesatare prej 8 centimetra reshje në muaj.

Shkruani një program që merr si input muajin në fillim të së cilit bëhet matja, thellësinë e lumit të

regjistruar në metra dhe përdor reshjet mesatare për atë muaj për të gjeneruar mesazhin: “Nuk ka

rrezik përmbytje” ose “Rrezik përmbytje!”. (Supozojmë se nuk ka variabla të tjerë që

mund të ndikojnë në modelin tonë të thjeshtë.)

Shembull (inputi jepet me shkronja të pjerrëta):

Jepni numrin që i korrespondon muajit në kalendar: 11

Jepni në metra thellësinë e lumit të matur në 11/1: 30.5

Rrezik përmbytje!

20. Tregoni çfarë është një klasë?

21. Tregoni çfarë është një objekt?

22. Ndërtoni një objekt për një klasë?

23. Tregoni si ndërtohet një klasë?

24. Tregoni si ndërtohet një property në një klasë?

25. Si thërritet një metodë nëpërmjet një objekti?

26. Tregoni sintaksën e një klase të trashëguar?

27. Tregoni se si merren vlerat në një klasë të trashëguar nga klasa bazë?

28. Ndërtoni klasën e trashëguar e cila afishon sipërfaqen e cilindrit. Klasa bazë është sipërfaqe rrethi. Të

dhënat merrini nga tastiera nëpërmjet texbox-eve.

29. Ndërtoni klasën llogaritja, e cila do të marrë nga përdoruesi një sasi lekësh dhe do ta këmbej në dollarë.

30. Cili është ndryshimi ndërmjet private class dhe protected class.

31. Çfarë është inicializimi dhe vlerëdhënia për një konstruktor? Për çfarë përdoret secila?

32. Nëse një pointer është element në një klasë ai mund të shkaktojë disa probleme. Çfarë duhet të shtoni në

klasë që të shmangen problemet që mund të shkaktojë përdorimi i një pointeri?

33. Çfarë afishohet nga ekzekutimi i programit të mëposhtëm?

#include <iostream>

using namespace std;

class Top {

public:

virtual void MyMemory() { cout << "I forget" << endl;};

Page 16: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

void Disk() { cout << "Space" << endl;};

void Erased() { cout << "For good" << endl;};

void ThisExam() { Erased(); MyMemory(); };

virtual ~Top() {}

};

class Bottom : public Top {

public:

void MyMemory() { cout << "Gone" << endl;};

void Disk() { cout << "Slipped" << endl;};

void virtual Erased() { cout << "Rubbed out" << endl;};

};

int main()

{

Top* Hat = new Bottom;

Hat->MyMemory();

Hat->Disk();

Hat->ThisExam();

Top Dog = *(new Bottom);

Dog.MyMemory();

Dog.Disk();

Dog.ThisExam();

}

Page 17: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Bazat e të Dhënave I

1.Faktet e papërpunuara quhen: a) Të dhëna b) Informacion c) Njohuri d) Asnjëra prej alternativave

2.Si quhet struktura që ruan të dhëna përfundimtare dhe metadata? a) DBMS b) Bazë të dhënash c) Fjalor të

dhënash d) Informacion

3. Bazat e të dhënave klasifikohen në bazë të : a) numrit të përdoruesve b) vendodhjes së të dhënave c) llojeve të

përdorimit d) Të treja alternativat

4. Si quhet e baza e të dhënave që menaxhon operacionet ditore të një kompanie? a) Bazë të dhënash operacionale

b) Bazë të dhënash e shpërndarë c) Bazë të dhënash e centralizuar d) a+b

5. Cili prej pohimeve nuk është i vertetë për sistemet me skedarë a) kërkojnë kohë për t’u zhvilluar b) japin përgjigje

në një kohë të gjatë c) administrimi është më kompleks d) ofrojnë siguri në shpërndarjen e të dhënave

6. Kur aksesimi i një skedari ndikohet nga ndryshimi i struktures së tij kemi të bëjmë me: a) varësi strukturore b)

pavarësi strukturore c) varësi ndaj të dhënave d) pavarësi ndaj të dhënave

7. Nëse ndryshon tipi i të dhënave për një fushë të një skedari atëhere sistemi me skedarë shfaq: a) varësi

strukturore b) pavarësi strukturore c) varësi ndaj të dhënave d) pavarësi ndaj të dhënave

8. Cili është komponent i një sistemi baze të dhënash? a) Serveri b) Programet aplikative c) Projektuesi i bazës së të

dhënave d) Të gjitha alternativat

9.Paraqitja në mënyrë më të thjeshtë të strukturave komplekse reale do të quhet: a) projektim i bazës së të dhënave

b) model i të dhënave c) skemë e të dhënave d) asnjëra prej alternativave

10. Një model të dhënash duhet të ketë si komponente një: a) entitet b) atribut c) marëdhënie d) të treja

11. Rregulli i biznesit “Një AUTOR shkruan shumë LIBERa dhe një LIBER shkruhet nga shumë AUTORë” ilustron një

marëdhënie: a) një-me-një b) një-me-shumë c) shumë-me-shumë d) shumë-me-një

12. Nga rregullat e biznesit nuk mund të përcaktohen: a) entitetet b) marëdhëniet c) celësat primarë d) kufizimet

13. Cili element është një entitet? a) PUNETOR b) PUNOJ c) PUN_EMER d) të treja

14. Cili entitet është emërtuar saktë? a) PUNETORI b) punetorët c) PUNETORIN d) PUNETOR

15. Cili model ndërtohet në bazë të këndvështrimit të përdoruesit për mjedisin e të dhënave? a) modeli i brendshëm

b) modeli konceptual c) modeli fizik d) modeli i jashtëm

16. Cili prej modeleve është i pavarur nga programet dhe pajisjet fizike? a) modeli i jashtëm b) modeli i brendshëm

c) modeli konceptual d) a+c

17.Atributi që identifikon në mënyrë unike cdo rresht quhet: a) atribut unik b) çelës primar c) çelës i huaj d) çelës

dytësor

18. Si quhet atributi që është superçelës pa atribute të tepërta? a) superçelës b) çelës primar c) çelës kandidat d)

çelës dytësor

19. Kur tabela shfaq integritet entitet kushti që plotësohet është: a) çelësi primar përmban vlera boshe b) celësi

primar nuk përmban vlera boshe c) çelësi primar ka vlera unike d) b+c

Page 18: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

20. Nëse një atribut krijohet për ndërtimin e një marrëdhënie ai quhet: a) çelës primar b) çelës dytësor c) superçelës

d) çelës i huaj

21. Cili nuk është një operator relacional? a) SELECT b) UNION c) INSERT d) INTERSECT

22. Cili operator shfaq një ose disa kolona nga një tabelë? a) SELECT b) PROJECT c) PRODUCT d) UNION

23. Cili operator mund të aplikohet vetëm mbi një tabelë? a) INTERSECT b) PRODUCT c) SELECT d) UNION

24. Cili operator aplikohet mbi 2 tabela? a) DIFFERENCE b) UNION c) JOIN d) të gjithë

25. Cili operator përfshin brenda edhe aplikimin e operatorit PRODUCT? a) INTERSECT b) JOIN c) UNION d) DIVIDE

26. Si quhet entiteti që lidh 2 tabela në një marëdhënie shumë-me-shumë? a) entitet i thjeshtë b) entitet i përbërë c)

entitet i dobët d) Asnjëra prej alternativave

27.Mbledhja e vlerave të 2 atributeve jep një atribut të ri të quajtur: a) atribut i kërkuar b) atribut i përftuar c) atribut

me shumë vlera d) atribut i përbërë

28.Simboli tregon një kardinalitet a) (0,N), b) (1,N) c) (1,1) d) (0,1)

29. Atributi që identifikon rreshtat e një entiteti quhet: a) entitet b) me shumë vlera c) identifikues d) i përftuar

30. Një atribut që mund të ndahet në disa atribute të tjera quhet: a) atribut i thjeshtë b) atribut i përbërë c) atribut

me shumë vlera d) atribut i përftuar

31. Nëse atributi MOSHE llogaritet nga atributi DT_LINDJE atëhere ky atribut quhet: a) atribut me një vlerë b) atribut

me shumë vlera c) atribut i përbërë d) atribut i përftuar

32. Cili prej atributeve mund të jetë atribut me shumë vlera? a) TEL_NUM b) DATE_LINDJE c) MOSHA d) Të gjitha

alternativat

33. Bashkësia e vlerave që mund të marrë një atribut i caktuar quhet: a) entitet b) skedar c) fushë d) marëdhënie

34.Një tabelë që nuk ka varësi të pjesshme është të paktën në formën: a) 1NF b) 2NF c) 3NF d) 4NF

35. Një tabelë që ka varësi të pjesshme është në formën: a) 1NF b) 2NF c) 3NF d) 4NF

36. Cila formë normale konsiderohet e përshtatshme për dizenjime të zakonshme të një baze të dhënash? a) 1NF b)

2NF c) 3NF d) 4NF

37. Normalizmi __________ përsëritjen e të dhënave: a) nuk ndryshon b) zvogëlon c) shton d) maksimizon

38. Cili nuk është funksion statistikor? a) MIN b) MAX c) EXISTS d) AVG

39. Cili program nuk është një RDBMS? a) Microsoft SQL Server b) Microsoft Access c) SQL d) Oracle

40. Emri i një produkti ruhet sipas kujt tipi të dhëne? a) VARCHAR b) CHAR c) NUMBER d) DATE

41. Cili tip të dhënash ruan numra me presje dhjetore? a) INTEGER b) CHAR c) VARCHAR d) NUMBER

42. Cila komandë nuk është një kufizim në SQL? a) NOT NULL b) DEFAULT c) ALTER d) CHECK

43. Ju mund të shtoni një rresht duke përdorur SQL në një bazë të dhënash me cilën prej komandave? a) ADD b)

CREATE c) INSERT INTO d) MAKE

44. Komanda e cila fshin rreshtat e një tabele është: a) REMOVE b) DROP c) DELETE d) UPDATE

Page 19: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

45. Komanda WHERE: a) kufizon zgjedhjen e kolonave b) kufizon zgjedhjen e rreshtave c) kufizon zgjedhjen e

atributeve d) asnjëra prej alternativave

46. Komanda e cila fshin një tabelë nga baza e të dhënave është: a) REMOVE TABLE b) DROP TABLE c) DELETE TABLE

d) UPDATE TABLE

47. Gjuha e përcaktimit të të dhënave në SQL shkurtimisht njihet si: a) DDL b) DML c) HTML d) XML

48. Cila komandë përdoret së bashku me karakterin "%" ? a) LIKE b) IN c) NOT IN d) BETWEEN

49. Cila prej alternativave tregon rendin e saktë të fjalëve në një deklaratë SQL? a) SELECT, FROM, WHERE b) FROM,

WHERE, SELECT c) WHERE, FROM, SELECT d) SELECT, WHERE, FROM

50. Për të hequr rreshtat e duplikuar nga rezultati i një deklarate SQL duhet të përfshihet opsioni: a) ONLY b) UNIQUE

c) DISTINCT d) SINGLE

51. Cila prej kërkesave duhet të merret në konsideratë kur krijoni një tabelë në SQL? a) Tipet e të dhënave b) Çelësi

primar c) Emërtimi atributeve d) Të gjitha alternativat e mësipërme

52. Kur tre ose më shumë kushte OR kombinohen është më e lehtë që të përdoret: a) LIKE b) IN c) NOT IN d)

BETWEEN

53. Cila prej komandave rendit rreshtat në SQL? a) SORT BY b) ALIGN BY c) ORDER BY d) GROUP BY

54. SQL mund të përdoret: a) Vetëm për të krijuar strukturën e bazës së të dhënave b) Vetëm për të drejtuar query

në bazën e të dhënave c) Vetëm për të modifikuar të dhënat në bazën e të dhënave d) Të gjitha të mësipërmet

55. Deklarata SQL që lexon të dhënat nga një tabelë është: a) SELECT b) READ c) QUERY d) Asnjëra prej tyre

56. SQL është: a) Një gjuhë programimi b) Një sistem operativ c) Një gjuhë joproceduriale d) Një DBMS

57. Për çfarë qëndron gjatë SQL? a) Strong Question Language b) Structured Query Language c) Structured Question

Language d) Asnjëra prej alternativave

58. Cila deklaratë SQL përdoret për të shtuar rreshta të rinj në bazë të dhënash? a) INSERT NEW b) ADD NEW c)

INSERT INTO d) ADD RECORD

59. Cili veprim JOIN bashkon vetëm rreshtat ku përputhen vlerat e atributit të përbashkët?

a) Natural JOIN b) OUTER JOIN c) RIGHT OUTER JOIN d) LEFT OUTER JOIN

60. Në cilin veprim JOIN bashkohen 2 tabela të njëjta? a) NATURAL JOIN b) JOIN REKURSIV c) OUTER JOIN d) Asnjëra

prej alternativave

Ushtrime:

a. Për çdo tabelë, identifikoni çelësat primarë dhe çelësat e huaj (deklaroni kur nuk ka).

b. A shfaqin tabelat integritet entitet? Shpjegoni përgjigjen tuaj.

c. A shfaqin tabelat integritet referencial? Shpjegoni përgjigjen tuaj. Shkruani NA (nuk aplikohet) kur tabela nuk ka

çelës të huaj.

d. Përshkruani marrëdhëniet midis tabelave (rregullat e biznesit) pa konsideruar entitetin lidhës NOTE.

e. Krijoni ERD për këtë bazë të dhënash.

Page 20: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

f.Krijoni fjalorin e të dhënave për tabelat e mësipërme.

Përkufizime:

Marrëdhënie (relationship), 2. Informacion (information), 3. Superçelës (superkey), 4. Fjalori i të dhënave (data

dictionary), 5. Model konceptual (conceptual model), 6. Entitet (entity), 7. Të dhëna (data), 8. Çelës i huaj (Foreign

Key), 9. DBMS, 10. Model i brendshëm (internal model), 11. Atribut (attribute), 12. Metadata, 13. Çelës kandidat

(candidate key), 14. ERD, 15. Model fizik (physical model), 16. Çelës primar (Primary Key), 17. Model i jashtëm

(external model), 18. SQL, 19. DML, 20. DDL, 21. Normalizim (Normalization), 22. Kardinalitet (Cardinality).

Ushtrime me Operatoret Relacional

Ushtrime me Normalizimin (1NF, 2NF, 3NF) – Diagramat e varësisë

Ushtrime në SQL: CREATE TABLE, INSERT, UPDATE, SELECT, JOIN.

Emri i tabelës: STUDENT

STU_ID STU_EM STU_EMAIL

1000 Ben [email protected]

1001 Liza lisa123@ uamd.edu.al

1002 Mira rayli123@ uamd.edu.al

1003 Mila miley123@ uamd.edu.al

Emri i tabelës: NOTE

STU_ID KUR_ID NOT_VL

1003 KU001 5

1001 KU003 4

1002 KU003 7

1003 KU004 9

1001 KU002 5

Emri i tabelës: KURS

KUR_ID KUR_EM PED_ID KUR_AUD

KU001 Databazë I PE001 101

KU002 Rrjeta PE004 111

KU003 E-Commerce PE005 107

KU004 Programim PE003 211

KU005 Databazë II PE001 311

Emri i tabelës: PEDAGOG

PED_ID PED_EM PED_MB

PE001 Alda Hoxha

PE002 Elda Prifti

PE003 Ina Sula

PE004 Eni Kodra

Page 21: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Programim në Web I

1. Spjegoni termat e mëposhtëm

a. HTML

b. CSS

c. JS

2. Cila është struktura e përgjithshme e një dokumenti HTML?

3. Cilët janë taget bazë të një dokumenti HTML? Cili është funksioni i tyre?

4. Çfarë janë taget, elementët dhe atributet?

5. Çfarë janë entitetet dhe kur përdoret ato?

6. Çfarë janë listat dhe tipet e tyre?

7. Çfarë jane linket dhe llojet e linkeve? Cila është sintaksa e linkeve brenda të së njëjtës faqe dhe

sintaksa e linkeve me faqe të ndryshme?

8. Cila është sintaksa e vendosjes së një imazhi në një faqe Web? A shërben një imazh si link?

9. Çfarë janë tabelat dhe cilët janë taget për ndërtimin e një tabele?

10. Çfarë është forma dhe cili është qëllimi i saj?

11. Çfarë është sektori id dhe sektori class?

12. Çfarë quhet renditje cascade?

13. Cili është funksioni i tagut div dhe tagut span?

14. Çfarë janë Frames?

15. Çfarë janë funksionet në JS? Shkruani sintaksën e funksioneve?

16. Cilat janë mënyrat e vendosjes së një kodi JS?

17. Cilat janë metodat që përdoren për të shfaqur output në JS?

18. Cilët janë funksionet e simbolit ‘+’ në JS?

19. Çfarë janë variablat në JS? Cilat janë kushtet që duhet të plotësoj emri i variablit?

20. Çfarë janë objektet në JS?

21. Çfarë janë eventet në JS?

22. Qarko përgjigjen e saktë.

a. Cili prej sintaksave të mëposhtme është shkruajtur në mënyrë korrekte?

a. <p><b><i>Programim në Web</b></i></p>

b. <p><b><i>Programim në Web</i></b></p>

c. <p><b><i>Programim në Web</p></b></i>

d. <p><b><i>Programim në Web</p></i></b>

b. Cili prej linkeve të mëposhtme i refereohet një linku relative?

a. <a href=”https://mail.google.com”>

b. <a href=”https://www.google.com”>

c. <a href=”/email.html”>

d. <a href =”../../email.html”>

c. Mund të vendosen tage të tjerë HTML midis tagut hapës dhe mbyllës të tr në një tabelë.

V G

d. Cili atribut vendoset në tagun form për të treguar vendnodhjen ku do të shkoj informacioni i

formës?

a. name

b. action

Page 22: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

c. value

d. src

e. Cili nga butonat përdoret për të zgjedhur vetëm një element nga një list elementësh?

a. radio

b. reset

c. checkbox

d. push

23. Qarko përgjigjen e saktë.

a. Të gjitha faqet Web përdorin sistemin Hexadecimal për vendosjen e ngjyrave të elementëve të

saj. V G

b. Cila është renditja sipas rëndësisë për stilimin e një faqeje Web?

a. Inline, Internal, External

b. Inline, External, Internal

c. Internal, External, Inline

d. External, Internal, Inline

c. Cili atribut i HTML përdoret për të përcaktuar stilin inline?

a. class

b. rel

c. style

d. styles

d. Në cilën pjesë të HTML vendoset external style sheet?

a. Në fund të dokumentit

b. Në seksionin <head>

c. Në seksionin <body>

e. Cili tag i HTML përdoret për të përcaktuar internal style sheet?

a. <css>

b. <script>

c. <style>

24. Qarko përgjigjen e saktë.

a. Në cilin element të HTML vendoset kodi i JavaScript?

a. <js>

b. <script>

c. <javascript>

d. <scripting>

b. Në cilin element të HTML është mënyra korrekte e vendosjes së kodit JavaScript?

a. <body>

b. <head>

c. Të dyja, <head> dhe <body>

Page 23: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

c. Një external JavaScript vendoset brenda tagut <script>. V G

d. Cila është sintaksa e krijimit së një funksioni në JavaScript?

a. function function_name( )

b. function-function_name( )

c. function=function_name( )

e. Si fillon loop WHILE.

a. while(i<=10;i++)

b. while(i<=10)

c. while 1=1 to 10

25. Ndërtoni tabelën e mëposhtme. (Vlerat e atributeve i merni të përafërta).

26. Ndërtoni formën e mëposhtme.

27. Ndërtoni listën e mëposhtme.

Page 24: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

28. Ndërtoni listën e mëposhtme.

29. Ndërtoni tabelën e mëposhtme. (Vlerat e atributeve i merni të përafërta)

Page 25: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

30. Ndërtoni Web faqen e mëposhtme duke përdorur kutitë. (Vlerat e atributeve i merni të përafërta).

31. Ndërtoni Web faqen e mëposhtme. (Vlerat e atributeve i merni të përafërta, imazhet janë linke të

cilat lidhen me faqe të tjera ).

32. Ndërtoni Web faqen e mëposhtme. (Vlerat e atributeve i merni të përafërta).

33. Krijoni një funksion në javascript i cili pranon dy argumenta të tipit int dhe shfaq numrin më të madh

ndërmjet tyre .

34. Krijoni një kod në javascript i cili do të përmbaj një cikël që përseritet për numrat nga 0 - 15. Për çdo

iteracion do të kontrollohet nëse numri i marë është tek ose çift.

Page 26: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Shembull :

"0 eshte cift"

"1 eshte tek"

…………

35. Krijoni një kod javascript i cili është në gjendje të marë datën e sistemit dhe ta shfaqë atë në formatet

e mëposhtme:

a. Muaj – Ditë – Vit

b. Ditë– Muaj – Vit

36. Krijoni një kod në javascript i cili nëpërmjet një funksioni rekursiv është në gjendje të afishoj

prodhimin e dy numrave.

37. Krijoni një kod në javascript i cili nëpërmjet një funksioni rekursiv është në gjendje të afishoj

shumën e n numrave të parë natyror duke filluar nga 1.

38. Krijoni një kod në javascript i cili nëpërmjet një funksioni rekursiv është në gjendje të afishoj

faktorialin e një numri n.

39. Krijoni një kod në javascript i cili njëhson dhe afishon shumën, diferencën, prodhimin dhe raportin e

dy variablave a dhe b.

40. Krijoni një kod në javascript i cili është në gjendje të ndryshoj përmbajtjen e një paragrafi të ndodhur

në paragrafin me id “p1” pasi është klikuar butoni Ndrysho.

41. Krijoni një kod në javascript i cili është në gjendje të ndryshoj ngjyrën e teksitit të ndodhur në

paragrafin me id “title” pasi është klikuar butoni me id “change”.

42. Krijoni një kod në javascript i cili është në gjendje të marë datën e sistemit dhe të afishoj nëse është

fundjave ose jo.

43. Krijoni një kod në javascript i cili afishon të gjitha vlerat e një objekti të ndërtuar paraprakisht.

44. Krijoni një kod në javascript i cili numëron dhe afishon numrin e elementëve të një variabli.

45. Krijoni një kod në javascript i cili gjen dhe afishon numrin më të madh dhe më të vogël të tre

numrave.

46. Krijoni një kod në javascript i cili nga vektori A1 heq elementin e parë dhe elementin e fundit.

Afishoni elementët e vektorit të ri.

47. Krijoni një kod në javascript i cili njëhson dhe afishon, prodhimin dhe shumën e elementëve tek të

një vektori numerik.

48. Krijoni një kod në javascript i cili afishon tipin e të dhënave të varablave: x=2,a1=[2,3,1,4],

y=”Programim”.

49. Çfarë do të afishoj kodi i mëposhtëm?

<script>

var x=7;

var y=3;

var z=x*y;

function myfunction( ){

var x=4;

var y=5;

var z=x*y;

document.write(z);

}

Page 27: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

myfunction( );

document.write(z)

myfunction( );

</script>

50. Krijoni një kod në javascript i cili afishon:

*

* *

* * *

Page 28: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Rrjete Kompjuterike I

1. Cila shtrese e modelit OSI percakton standartet per kabllimin dhe konektoret?

a. Shtresa Fizike

b. Shtresa e Datalinkut

c. Shtresa e Networkut

d. Shtresa e Transportit

2. Cila shtrese e modelit OSI percakton adresimin logjik dhe rutimin?

a. Shtresa Fizike

b. Shtresa e Datalinkut

c. Shtresa e Networkut

d. Shtresa e Transportit

3. Cilet nga keta protokolle referuar modelit TCP/IP jane ne shtresen e Datalinkut? (zgjidhni dy alternativa)

a. Ethernet

b. HTTP

c. IP

d. UDP

e. SMTP

f. PPP

4. Nje frame eshte derguar ne disa pajisje ne nje LAN, tregoni se cfare termi adrese Etherneti eshte perdorur?

(zgjidhni dy alternativa)

a. Adrese fizike

b. Adrese unikast

c. Adrese broadcast

d. Adrese multicast

5. PC1 dhe PC5 jane pjese te dy rrjeteve LANs Ethernet te ndryshem te ndare nga nje IP router. Adresa IP e PC1

eshte 8.1.0.0 dhe nuk eshte bere subnett-im i rrjetit. Cilat nga adresat e meposhtme mund te perdoret nga

PC5? (zgjidhni dy alternativa)

a. 8.10.0.0

b. 8.1.1.1

c. 8.0.0.255

d. 20.2.2.2

e. 200.2.2.2

f. 5.5.5.5

6. Cfare adrese perdor normalisht nje ruter kur ben rutimin e paketave ne rrjet

a. Adresen MAC destinacion

a. Adresen MAC burim

b. Adresen IP destinacion

c. Adresen IP burim

d. Adresen destionacion MAC dhe adresat IP

7. Cili nga funksionet e meposhtme kryhet nga te dy protokollet?

a. Zbulimi i gabimeve

b. Windowing

c. Rutimi

d. Enkriptimi

e. Multipleksimi duke perdorur numrin e portes

8. Ne URI kemi: http://www.uamd.edu.al/new/?p=492, cila pjese identifikon web serverin?

a. http

b. www.uamd.edu.al

Page 29: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

c. uamd.edu.al

d. http://www.uamd.edu.al

9. Nje rrjet vleresohet nga?

a. Arkitektura

b. Tipi i lidhjes

c. Topologjia

d. Performanca

10. Cila nga adresat e meposhtme eshte nje adrese e sakte?

a. 2.0.256.1

b. 1.192.129.192

c. 25.255.7.9.0

11. Shpjegoni ndarjen e rrjetit sipas arkitektures?

12. Si ndertohet topologjia RING, krahasojeni ate me topologjine STAR?

13. Topologjia MESH, avantazhet dhe disavantazhet e kesaj topologje, si dhe numri i lidhjeve qe formohet?

14. Pershkruani modelin OSI?

15. Pershkruani modelin TCP/IP dhe llojet e adresimeve?

16. Krahasoni modelin OSI me modelin TCP/IP?

17. Karakteristikat e shtreses Fizike?

18. Si ndertohet fibri optik?

19. Krahasoni fibrat multimode me monomode?

20. Avantazhet/disavantazhet e fibrit optik kundrejt telave te bakrit?

21. Si realizohet transmetimi dixhital ne seri?

22. Tregoni grupin e teknologjive DSL dhe shpjegoni shkurtimisht ADSL-ne?

23. Cfare eshte Frame Relay?

24. Si ndertohet ATM-ja?

25. Jepni karakteristikat e rrjetit WLAN?

26. Jepni karakteristikat e rrjetit WPAN?

27. Teknologjia IrDA dhe Bluetooth?

28. Tregoni shkurtimisht llojet e sherbimeve ne shtresen e transportit?

29. Si behet kontrolli i mbingarkeses ne shtresen e Networkut?

30. Si realizohet ardesimi pa klase?

31. Shpjegoni protokollin ICMP?

32. Cfare eshte nje Switch dhe funksioni ai?

33. Cfare eshte nje Ruter dhe roli i tij ne rrjet?

34. Si krijohet nje grup multicast?

35. Cfare funksioni ka protokolli IGMP?

36. Tregoni disa protokolle te rutimit muticast?

37. Karakteristikat e shtreses se transportit?

38. Si realizohet stabilizimi i lidhjes kur perdorim protokollin TCP?

39. Karakteristikat e protokollit UDP?

40. Shpjegoni shkurtimisht protokollin FTP?

41. Shpjegoni shkurtimisht protokollin HTTP?

42. Shpjegoni shkurtimisht DNS-ne?

43. Shkruani nga nje adrese Ethernet per cdo rast (Multicast, Unicast, Broadcast)?

44. Cfare eshte nje adrese IP?

45. Ku ndryshon IPv4 nga IPv6?

46. Tregoni rangun e adresave te klases B dhe jepni dy shembuj adresash te kesaj klase?

47. Shkruani dy shembuj adresash IPv6 dhe kthejeni ato ne formen e thjeshtuar?

Page 30: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

48. Ushtrim 1: Kemi 25 hoste qe duan te behen pjese e nje rrjet me netmaske 24. Sa eshte netmaska per rrjetin

tone ne menyre qe te humbasim sa me pak adresa IP?

49. Ushtrim 2: Jepet hapesira e lire e adresimit 207.150.13.0/24, te krijohen rrjetet e meposhtme duke kursyer sa ma shume adresa IP:

I. Rrjeti A- 28 hoste II. Rrjeti B- 40 hoste

III. Rrjeti C- 62 hoste IV. Rrjeti D- 5 hoste

50. Ushtrim 3: Jepet adresa IP 192.168.5.120/26. Percaktoni: a. Numrin e subneteve qe krijohen b. Numrin e hosteve brenda nje subneti c. Adresen e rrjetit d. Adresen broadcast

Page 31: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

Sisteme Shfrytëzimi

1. __________________ eshte plani qe ndiqet per te percaktuar rradhen e ekzekutimit te proceseve a. OS b. Skedulimi c. Thread d. Skedulues

2. Kalimi i proceseve nga memoria sekondare ne ate kryesore quhet :

a. Swaping

b. Swapout

c. Lista te lidhura

d. Asnjera

3. __________________ eshte nje skeme e menaxhimit memories ku ne nje kohe ekzekutohen disa programe .

a. Multiprogramimi

b. Monoprogramimi

c. Swapping

d. Bitmap

4. Si quhet proçesi i parë që përdoruesi ose aplikacioni krijon në fillim ?

a. Proces prind c. Proces i thjeshtë

b. Proces fëmijë d. Aplikacion

5. Sistemi i shfrytëzimit Linux është më i zhvilluar në fushën e ?

a. Pajisjeve c. Servera

b. Ndërfaqeve d. Aplikacioneve

6. Cila karekteristikë i përket proçesit?

a. Sistemi i Bus-eve c. Radha (stack)

b. RAM d. Lexuesi optik

7. Cili algoritëm favorizon proçeset e gjata?

a. Round-Robin c. SRT

b. FCFS(FIFO) d. SPN

8. Cili nga elementët e mëposhtëm është atrribut i Thread-it?

a. Instruksion c. multiprocesimi

b. Gjëndja e emergjencës d. Alokimi i burimeve

9. Cili lloj skedulimi e përzgjedh proçesin në grupin e proçeseve kandidatë për ekzekutim?

a. Long term c. Short term

b. Medium term d. Skedulimi I/O

10. Cila është karektiristikë e Windows?

c. Kodi i Hapur c. çmim i lartë

d. OS për kompjutera personalë d. Zotëron tregun e serverave

11. Cili nga elementët e mëposhtëm është pjesë e virusit?

e. Gjëndja e gjumit c. Këmbëza

f. Menaxhimi d. Alokimi i burimeve

12. Cili skedulues gjendet ne sistemet me memorje virtuale :

a. Skeduluesi afatgjate b. Skeduluesi afatshkurter

c. Skeduluesi afatmesem d. Skeduluesi I/O

13. Cili nga algoritmet e meposhtme ekzekuton te parin procesin me kohe ekzekutimi me te shkurter: a. Prioritet b. Raund-Robin c. FCFS

d. SJF

Page 32: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

14. Adresat e gjeneruara nga CPU-ja jane adresa logjike. a. Vertete b. Gabuar

15. Hapesira e adresave virtuale eshte e ndare ne njesi qe quhen: a. Page b. Page frame c. Offset d. Frame

16. Konsiderohet “ murr i zjarrte” : a. Viruesi b. Antiviruesi c. Firewall d. Asnjera

17. Cili skedulues vendos se cilat procese te saspo krijuara do vendosen ne rradhen gati per akzekutim: a. Skeduluesi afatmesem b. Skeduluesi I/O c. Skeduluesi afatshkurter d. Skeduluesi afatgjate

18. Cili nga algoritmet e meposhtme eshte nderpreres (parandalues) : a. FCFS b. SJF c. Raund-Robin d. Prioritet

19. Cila karekteristikë i përket Gjeneratës të katërt të kompjuterave

a.Kompjuterat me tranzistorë b. Kompjuterat me tuba vakumi

c. Serverat d. Kompjuterat personale

20. Cila karekteristikë i përket kujtesës RAM?

a.Kapacitet shumë i madh c. Kujtesë afatgjatë

b. Rruan informacionin përkohësisht d. pajisje I/O

21. Cila karektiristikë është tipar i një Sistemi Shfrytëzimi?

a.Manipulimi i fileve c. Shpërndarja e burimeve

b. Efikasiteti d. Aplikacionet

22. Izolimi i fajit në sigurinë e kompjuterave lidhet me ?

a.Përgjegjshmërinë c. Integritetin

b. Prioritetin d. Bllokimin

23. Çfare eshte Skedulimi dhe Skeduluesi ?

24. Përkufizo Computer Security.

25. Jepni një përkufizim për Livelock-un.

26. Jepni një përkufizim për Multiprogramimin

27. Perkufizoni Sistemin e Shfrytezimit.

28. Jepni disa arsye pse nderpriten proceset gjate ekzekutimit.

29. Çfare eshte teknika maturimit te prioritetit ?

30. Çfare eshte menaxhimi i memories ? Jepni detyrat e saj ?

Page 33: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

31. Shpjegoni tekniken Bitmap te menaxhimit te memories?

32. Çfare eshte virusi ? Jepni shenjat e infektimit nga viruset ?

33. Jepni ndryshimin midis virusit - trojan - worms ?

34. Shpjegoni cfare eshte Deadlock?

35. Permend 5 gjendjet e procesit?

36. Krahasoni programin me procesin?

37. Shpjegoni cfare eshte Threadi?

38. Çfare eshte antivirusi ? Jepni masat si parandalohet sulmi nga viruset?

39. Jepni dhe shpjegoni nivelet e skedulimit ?

40. Cilat janë 3 funksionet e një Sistemi Shfrytëzimi, argumento.

41. Krahaso Të dhënat kofidenciale me Privatësinë.

42. Permendni dhe shpjegoni kriteret e skedulimit ?

43. Shpjegoni Algoritmet e pozicionimit te proceseve ( First-Fit, Next-Fit, Best-Fit dhe Worst-Fit) ?

44. Jepni dhe shpjegoni llojet e skeduluesve ?

45. Ҫfarë është Disponueshmëria?

46. Jepni dhe shpjegoni elementet e treshes se CIAS ?

47. Jepni fazat qe kalon virusi ?

48. Jepen hapesirat e memorjes ne rradhen : 100Kb , 150Kb, 140Kb, 350Kb. Si do i vendose secili prej

algoritmeve First-Fit , Next-Fit, Best-Fit dhe Worst-Fit proceset: 60Kb, 50Kb, 180Kb, 100Kb, 80Kb.

49. Duke shfrytëzuar të dhënat e mëposhtme plotësoni matricën dhe zbatoni algoritmin e Bankierit për

të gjetur një radhë ekzekutimi të proceseve duke shmangur bllokimin.

50. Jepen proceset me kohen e mberritjes 0 dhe kohen e ekzekutimit :

Procesi Koha e ekzekutimit Prioriteti

P1 10 4

P2 7 2

P3 7 3

P4 2 1

a. Sa eshte koha mesatare e pritjes dhe e perfundimit me FCFS?

b. Sa eshte koha mesatare e pritjes dhe e perfundimit me SJF ?

Page 34: Test ENGLISH 1 (Elementary) - Aleksander Moisiu · PDF fileTest ENGLISH 1 (Elementary) 1. Complete the text with ... are you going to the ... Put the adverbs into an appropriate place

c. Sa eshte koha mesatare e pritjes dhe e perfundimit me Prioritet ? ( prioriteti 1 do te thote do

jete i pari per ekzekutim)

d. Sa eshte koha mesatare e pritjes dhe e perfundimit me Raund-Robin , me quantum Q=4?

** Per secilin algoritem te mesiperm ndertoni diagramen GANTT **