MIP.watch('count', function (newVal, oldVal) { fetch('https://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=546&type=1') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })
2019 年计算机等级考试二级MySQL数据库程序设计试题(二)
推荐等级:
★★★★☆
发布时间:
2020-05-29
卷面总分:
60
答题时间:
60
试题总量:
30
练习次数:
0
试卷分类:
MySQL数据库程序设计
试卷类型:
章节练习
试卷预览
1、以下所列的C语言常量中,错误的是()。
A、0xFF
B、12e05
C、2L
D、‘72’
2、若变量a、i已正确定义,且i已正确赋值,合法的语句是()。
A、a==1
B、++i
C、a=a++=5
D、a=int(i)
3、若a为int类型,且其值为3,则执行完表达式a+=a-=a*a后,a的值是()。
A、-3
B、9
C、-12
D、6
4、若有定义“inta=5,b=7;”,则表达式a%一(b%2)运算后,a的值为()。
A、0
B、1
C、11
D、3
5、若执行以下程序时从键盘上输入9,则输出结果是()。 main() {intn; scanf(”%d”,&n); if(n++<10)printf(”/%dn”,n); elseprintf(”%dn”,n--); }
A、11
B、10
C、9
D、8
其他考生还关注了更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计