当前位置:网站首页>Interview (XI) futu written test questions

Interview (XI) futu written test questions

2022-06-12 14:29:00 Makasa

Preface

This chapter mainly describes the futu written test questions that I can remember --> Hot
It is divided into multiple-choice questions and big questions , How many specific ways have you forgotten


One 、 choice question

1、 The correct sequence of the testing process is (A)?

A 、 Requirements review -> Use case design -> Use case review -> Delivery test -> regression testing -> Integration testing -> regression testing -> Online test

B 、 Requirements review -> Iterative testing -> Write test cases -> Use case review integration testing -> regression testing -> Online test

C 、 Requirements review -> Write test cases -> Iterative testing -> Use case review -> Integration testing -> regression testing -> Online test

D 、 Write test cases -> Requirements review -> Iterative testing -> Use case review -> Integration testing -> regression testing -> Online test

  • analysis : There's no need to say more about this , The basic process is like this

2、 For a sample containing n A program of variables , Using the basic boundary value analysis method to test the program will produce (A) Test cases

A、6n+1
B、7n
C、4n+1
D、5n


3、 Which of the following methods can design test cases with the strongest ability to find program errors (A)?

A 、 Boundary value analysis

B 、 Decision table method

C 、 Division of equivalence class

D、 Scene method

  • analysis : According to my understanding , Because when we make a judgment in normal development , Often because I accidentally add an equal to / Or it doesn't add up to , Lead to wrong judgment ; For example, common is “ Date range to query ”

4、 Yes 4 personal , Namely ABCD, Everyone has a hat on their head , The hat is only black or white ,4 Two of them are black , There are two people with white ,4 Personal standing position is A|B C D, It's a wall ,B,C,D Stand on the flat ground , A step , On the second step , Everyone can't see their own hat , At first nobody spoke , Suddenly someone said , I know what color hat I wear , Who is it, please ?(AB)

A、C
B、D
C、A
D、B

  • analysis : A exclude , because A Can't see other people's colors ; Then in BCD in ,
    At the beginning, if everyone doesn't speak , It means that everyone can't guess what color they have
    1、 First of all to see C -->C You can see B,D Your hat color , But his silence meant B,D Different colors
    2、 Look again D -->D You can also see B,C Your hat color , But he doesn't talk , explain B,C Heterochromism
    3、 that C notice D He didn't talk , Then he knew B,C Color , Infer that he and D The color is the same , And B Heterochromism
    The same can be ,D It's also

5、 When n =6 when , The return value of the following function is :(B)

int func(int n){
    if(n<=2){  return n;  }
    return func(n-1) + func(n-2);
}

A、8
B、13
C、5
D、6

  • analysis : emmm… This is a Fibonacci sequence Code for ,1 1 2 3 5 8 13…

6、 Is a question about database index (A)

A、 There are no restrictions on normal indexes

B、 The unique index cannot be duplicated , And cannot be empty

C、 The primary key index cannot be duplicate , And can be empty

D、 Forget the


7、 It's a question about probability , The title is probably 10 personal ,7 male 3 Woman , seek 7 What is the probability of having a girl in an individual ( I don't remember what I chose )


8、 It's about post A multiple-choice question in the request format , Determine which does not belong to post Request body (D)
A、application/x-www-form-urlencoded
B、application/xhtml+xml
C、text/xml
D、multipart/xml

Be careful : There may be some more , But I forgot


Two 、 Big question

2.1、sql Fill in

The title is probably : Here's a list student, Include name( name ),lesson( Course ),score( fraction ) Column , Let you find out 【 The scores of two subjects are higher than 70 The names of the students who were divided into two groups 】

  • analysis : I forgot how I wrote it , Anyway, it's written in a very complicated sentence - -
    The following one ran by itself
     Insert picture description here

2.2、 Design use cases to test the following Python Program

def Do(a,b,x):
    if(a>1) and (b==0):
        x=x/a
    if (a==2) or (x>1):
        x = x+2
    return x
  • Reference resources : emm… What I wrote directly was to call Do Method , Pass three specific parameters to allow three results , direct return x 、return x/a、return x+2

2.3、 Write test cases

The title is probably :excel File import and echo function , Two fields 【 full name / ID number 】, Both fields cannot be empty , After uploading , This side of the page is displayed synchronously , Let's write a test case

  • Reference resources :
    1、 Upload excel file
    1.1、excel Maintain name / Id card Upload successful
    1.1.1、 If the backend judges excel Value for name verification …
    1.1.2、 If the backend judges excel Value for ID verification …
    1.2、excel Maintain only one field Upload failed
    1.3、excel No maintenance Upload failed
    2、 Upload non excel file Upload failed
    3、 Verify that the uploaded page data is consistent with the original page data excel Agreement

2.4、 About a subject of aviation , Let you write code to calculate the shortest distance . The request parameters are given …

This question is not written , Forget the

原网站

版权声明
本文为[Makasa]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010511399442.html